Sets the scope of the dbcc command to the cluster or instance and specifies what the scope is currently set to.
dbcc set_scope_in_cluster("cluster"|"instance"|"scope")
cluster – sets the dbcc command scope to the cluster. Subsequent dbcc commands have a cluster-wide effect.
instance – sets the dbcc command scope to the current instance. Subsequent dbcc commands affect only the local instance.
scope – displays the current scope of the dbcc command, either cluster or instance.
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')