23.10.2012 Views

Structured Query Language (SQL) - Cultural View of Technology

Structured Query Language (SQL) - Cultural View of Technology

Structured Query Language (SQL) - Cultural View of Technology

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Database Console Commands (Transact-<strong>SQL</strong>) 38<br />

DBCC OPENTRAN<br />

This statement is used to display information about the oldest open transaction. [21]<br />

DBCC OUTPUTBUFFER<br />

This statement is used to return the current value <strong>of</strong> the output buffer. [22]<br />

DBCC PROCCACHE<br />

This statement is used to display information about procedure cache. [23]<br />

DBCC SHOWCONTIG<br />

This statement is used to display fragmentation information [23]<br />

DBCC SHOW_STATISTICS<br />

This statement is used to show current distribution statistics [24]<br />

DBCC <strong>SQL</strong>PERF<br />

This statement is used to show transaction log statistics [25]<br />

DBCC TRACESTATUS<br />

This statement is used to display status <strong>of</strong> trace flags [26]<br />

DBCC USEROPTIONS<br />

This statement is used to return set as ACTIVE [27]<br />

DBCC CHECKALLOC<br />

This statement is used to checks whether every extent allocated by the system has been allocted and whether there<br />

are extents that have not been allocated. [28]<br />

DBCC CHECKCATALOG<br />

This statement is used to check for consistency between system tables [29] in the system catalog. It does so through<br />

cross-referencing checks. [28]<br />

DBCC CHECKCONSTRAINTS<br />

This statement is used to check integrity <strong>of</strong> specific constraints. [30]<br />

DBCC CHECKDB<br />

This statement is used to check integrity and allocation <strong>of</strong> specific objects in database. [31] It also perforns DBCC<br />

CHECKALLOC, DBCC CHECKTABLE and DBCC CHECKCATALOG in the particular order. [28]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!