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>) 39<br />

DBCC CHECKFILEGROUP<br />

This statement is used to check allocation and structural integrity <strong>of</strong> tables. [32]<br />

DBCC CHECKIDENT<br />

This statement is used to check identity value <strong>of</strong> specified table. [33]<br />

DBCC CHECKTABLE<br />

This statement is used to check the integrity <strong>of</strong> a table [34] and all the pages and structures which comprise the<br />

table. [28] Both physical and logical checks are performed in this case. [28] However, we can also use a PHYSICAL<br />

ONLY option to check for physical consistency alone. [28]<br />

DBCC NEWALLOC<br />

DBCC NEWALLOC is almost similar to DBCC CHECKALLOC. This statement is not supported by recent<br />

versions. [35]<br />

DBCC dllname (FREE)<br />

This statement is used to unload a particular stored procedure DLL from memory. [35]<br />

DBCC HELP<br />

This statement is used to return syntax information. [36]<br />

DBCC PINTABLE<br />

This statement is used to mark a particular table to be pinned. [37]<br />

DBCC ROWLOCK<br />

This statement is used to enable Insert Row Locking (IRL) operations. [38]<br />

DBCC TRACEOFF<br />

This statement is used to disable a trace flag. [39]<br />

DBCC TRACEON<br />

This statement is used to turn on a specific trace flag. [40]<br />

DBCC UNPINTABLE<br />

This statement is used to mark a table as unpinned. In an unpinned table, the table pages in the cache could be easily<br />

removed. [41]

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

Saved successfully!

Ooh no, something went wrong!