Shrinks the size of the data and log files in the specified database.

Transact-SQL Syntax Conventions

Syntax

DBCC SHRINKDATABASE (database_name | database_id | 0      [ ,target_percent ]      [ , { NOTRUNCATE | TRUNCATEONLY } ] ) [ WITH NO_INFOMSGS ]

相关文章: