SQL Server 2000 System Tables and Their Equivalent DMV in SQL Server 2005 MSSQLFUN
SQL Server 2000 System Tables and Their Equivalent DMV in SQL Server 2005 MSSQLFUN
MSSQLFUN search
HOME » SQL SERVER » SQL SERVER 2000 SYSTEM TABLES AND THEIR EQUIVALENT DMV IN SQL SERVER 2005
List of SQL Server 2000 system tables and their 2005 equivalent management views, as well as a brief description what kind of information to find in the
views.
Returns a row for each query plan that is cached by SQL Server
syscacheobjects sys.dm_exec_cached_plans
for faster query execution.
Returns one row per plan attribute for the plan specified by the
sys.dm_exec_plan_attributes
plan handle.
Returns the text of the SQL batch that is identified by the specified
sys.dm_exec_sql_text
sql_handle.
Contains one row for each character set and sort order defined
syscharsets sys.syscharsets
for use by the SQL Server Database Engine.
Returns the list of tape devices and the status of mount requests
sysopentapes sys.dm_io_backup_tapes
for backups.
sysperfinfo sys.dm_os_performance_counters Returns a row per performance counter maintained by the server.
1 de 3 15/02/2017 10:38
» SQL Server 2000 system tables and their equivalent DMV in SQL S... https://mssqlfun.com/2012/08/02/sql-server-2000-system-tables-and-th...
fn_virtualfilestats sys.dm_io_virtual_file_stats Returns I/O statistics for data and log files.
Returns a row for each column of an object that has columns, such as
syscolumns sys.columns
views or tables.
Contains a row for each object that is a default definition (created as part of a
sys.default_constraints CREATE TABLE or ALTER TABLE statement instead of a CREATE DEFAULT
statement), with sys.objects.type = ‘D’.
Contains a row for each object that is a primary key or unique constraint.
sys.key_constraints
Includes sys.objects.type ‘PK’ and ‘UQ’.
sysfilegroups sys.filegroups Contains a row for each data space that is a filegroup.
Contains a row per file of a database as stored in the database itself. This
sysfiles sys.database_files
is a per-database view.
Contains a row for each column, or set of columns, that comprise a foreign
sysforeignkeys sys.foreign_key_columns
key.
Contains a row per index or heap of a tabular object, such as a table, view,
sysindexes sys.indexes
or table-valued function.
Contains a row for each partition of all the tables and most types of indexes in
the database. Special index types like Fulltext, Spatial, and XML are not
sys.partitions
included in this view. All tables and indexes in SQL Server contain at least
one partition, whether or not they are explicitly partitioned.
Returns page and row-count information for every partition in the current
sys.dm_db_partition_stats
database.
sysmembers sys.database_role_members Returns one row for each member of each database role.
2 de 3 15/02/2017 10:38
» SQL Server 2000 system tables and their equivalent DMV in SQL S... https://mssqlfun.com/2012/08/02/sql-server-2000-system-tables-and-th...
systypes sys.types Contains a row for each system and user-defined type.
Share this:
Like this:
← SQL SERVER 2008 R2 SP2 IS NOW AVAILABLE ! SQL SERVER 2012 – T-SQL CODE SNIPPETS →
1 Comment
Leave a Reply
3 de 3 15/02/2017 10:38