
DBCC (Transact-SQL) - SQL Server | Microsoft Learn
2022年12月6日 · DBCC commands take input parameters and return values. All DBCC command parameters can accept both Unicode and DBCS literals. DBCC internal database snapshot …
DBCC CHECKDB (Transact-SQL) - SQL Server | Microsoft Learn
2024年12月18日 · DBCC CHECKDB checks the logical and physical integrity of all the objects in the specified database.
DBCC CHECKIDENT (Transact-SQL) - SQL Server | Microsoft Learn
2024年9月3日 · DBCC CHECKIDENT returns the current identity value and the current maximum value of the identity column. If the two values aren't the same, you should reset the identity …
DBCC CHECKTABLE (Transact-SQL) - SQL Server | Microsoft Learn
2024年9月3日 · To perform DBCC CHECKTABLE on every table in the database, use DBCC CHECKDB. For the specified table, DBCC CHECKTABLE checks for the following: Index, in …
DBCC CLEANTABLE (Transact-SQL) - SQL Server | Microsoft Learn
2024年9月3日 · DBCC CLEANTABLE shouldn't be executed as a routine maintenance task. Instead, use DBCC CLEANTABLE after you make significant changes to variable-length …
DBCC CLONEDATABASE (Transact-SQL) - SQL Server | Microsoft …
2024年9月3日 · DBCC CLONEDATABASE generates a schema-only clone of a database by using DBCC CLONEDATABASE in order to investigate performance issues related to the …
DBCC FREEPROCCACHE (Transact-SQL) - SQL Server | Microsoft …
2024年9月3日 · In Azure SQL Database, DBCC FREEPROCCACHE acts on the database engine instance hosting the current database or elastic pool. Executing DBCC FREEPROCCACHE in …
DBCC SQLPERF (Transact-SQL) - SQL Server | Microsoft Learn
2024年9月3日 · SQL Server requires VIEW SERVER STATE permission on the server to run DBCC SQLPERF(LOGSPACE). To reset wait and latch statistics requires ALTER SERVER …
DBCC (Transact-SQL) - SQL Server | Microsoft Learn
2025年1月2日 · DBCC 命令使用输入参数并返回值。 所有 DBCC 命令参数都可以接受 Unicode 和 DBCS 文字。 DBCC 内部数据库快照用法. 以下 DBCC 命令对 数据库引擎创建的内部只读数据 …
DBCC OPENTRAN (Transact-SQL) - SQL Server | Microsoft Learn
2024年9月3日 · Use DBCC OPENTRAN to determine whether an open transaction exists within the transaction log. When you use the BACKUP LOG statement, only the inactive part of the …