sp_tempdb

Description

sp_tempdb allows users to:

These bindings are stored in the sysattributes table in master database.

sp_tempdb provides the binding interface for maintaining bindings in sysattributes that are related to the multiple temporary database.

NoteThis reference page contains information specific to the Cluster Edition. See the Reference Manual: Procedures for complete information for sp_tempdb.

Syntax

sp_tempdb [
	[ { “create” | “drop” } , “groupname” ] | 
	[ { “add” | “remove” } , “tempdbname”, “groupname” ] | 
	[ { “bind”, ““objtype”, “objname”, “bindtype”, “bindobj” 
		[, “scope”, “hardness” ] } | 
	[ { “unbind”, “objtype”, “objname” 
		[, “scope” [, "instance_name",] ] } ] | 
	[ “unbindall_db”, “tempdbname” ] | 
	[ "unbindall_gr", "groupname" ] |
	[ show [, "all" | "gr" | "db" | "login" | "app" [, “name” ] ] | 
	[ who, “dbname” ] |
	[ help ] ]

Parameters

Usage