DBA > Job Interview Questions > Microsoft SQL Server Database Administrator Exam

What is the meaning of the NOTRUNCATE option in

More DBA job interview questions and answers at http://dba.fyicenter.com/Interview-Questions/

(Continued from previous question...)

What is the meaning of the NOTRUNCATE option in the "DBCC SHRINKDATABASE" command?

The NOTRUNCATE option in the "DBCC SHRINKDATABASE" command tells MS SQL Server to not truncate free spaces in physical data files when shrinking the database. So the command just shrinks the data in data files, but not file sizes.

(Continued on next question...)

Other Job Interview Questions