Interviews2 answers
What is the use of DBCC commands?
2 Answers
To start identity I'd according to programmer
Dbcc (reseed ,1,1)
Mukesh KumarPosted Aug 31, 2017, 5:44 AM EDT
DBCC stands for database consistency checker. We use these commands to check the consistency of the databases, i.e., maintenance, validation task and status checks.
E.g. DBCC CHECKDB – Ensures that tables in the db and the indexes are correctly linked.
DBCC CHECKALLOC – To check that all pages in a db are correctly allocated.
DBCC CHECKFILEGROUP – Checks all tables file group for any damage.
Samir BhogaytaPosted Jun 25, 2016, 1:50 AM EDT

