dbcc set_scope_in_cluster

Description

Sets the scope of the dbcc command to the cluster or instance and specifies what the scope is currently set to.

Syntax

dbcc set_scope_in_cluster("cluster"|"instance"|"scope")

Parameters

Examples

Example 1 Sets the dbcc scope to the cluster:

dbcc set_scope_in_cluster('cluster')

Example 2 Sets the dbcc scope to the instance:

dbcc set_scope_in_cluster('instance')

Example 3 Displays the current scope for dbcc commands:

dbcc set_scope_in_cluster('scope')