DATETIME SELECT SELECT INTO DATE PAD STRING DYNAMIC SQL CURSOR MONEY FORMAT PERCENT STORED PROCEDURE SQL SERVER AGENT JOB OPTIMIZATION WHILE LOOP OVER PARTITION BY UPDATE
 
 
SITE SEARCH SQLUSA.com VIDEOS
 
 
SQL E/BOOKS   WORLD, USA & SQL NEWS   FORMAT
SCRIPTS SQL 2005 SQL 2008 ARTICLES
How to check the integrity of a database?

In Microsoft SQL Server Management Studio Query Editor execute the following command:

USE AdventureWorks2008;

GO

DBCC CHECKDB WITH NO_INFOMSGS;

GO

Execution time may span from minutes to hours. It is dependent on the size of the database and the configuration of the server.

The partial output looks like below on OK execution if NO_INFOMSGS option is not used:

DBCC results for 'titles'.
There are 18 rows in 1 pages for object 'titles'.
CHECKDB found 0 allocation errors and 0 consistency errors in database 'pubs'.
DBCC execution completed. If DBCC printed error messages, contact your system administrator.

Exam Prep 70-461
SQL 2016 DESIGN & PROGRAMMING
 
 
 
DATETIME SELECT SELECT INTO DATE PAD STRING DYNAMIC SQL CURSOR MONEY FORMAT PERCENT STORED PROCEDURE SQL SERVER AGENT JOB OPTIMIZATION WHILE LOOP OVER PARTITION BY UPDATE