Partilhar via


Database Engine Stored Procedures (Transact-SQL)

SQL Server 2005 supports the following system stored procedures that are used for general maintenance of an instance of SQL Server.

sp_add_data_file_recover_suspect_db

sp_estimated_rowsize_reduction_for_vardecimal

sp_add_log_file_recover_suspect_db

sp_executesql

sp_addextendedproc

sp_getapplock

sp_addextendedproperty

sp_getbindtoken

sp_addmessage

sp_help

sp_addtype

sp_helpconstraint

sp_addumpdevice

sp_helpdb

sp_altermessage

sp_helpdevice

sp_attach_db

sp_helpextendedproc

sp_attach_single_file_db

sp_helpfile

sp_autostats

sp_helpfilegroup

sp_bindefault

sp_helpindex

sp_bindrule

sp_helplanguage

sp_bindsession

sp_helpserver

sp_certify_removable

sp_helpsort

sp_configure

sp_helpstats

sp_control_plan_guide

sp_helptext

sp_create_plan_guide

sp_helptrigger

sp_create_removable

sp_indexoption

sp_createstats

sp_invalidate_textptr

sp_cycle_errorlog

sp_lock

sp_datatype_info

sp_monitor

sp_db_vardecimal_storage_format

sp_procoption

sp_dbcmptlevel

sp_recompile

sp_dbmmonitoraddmonitoring

sp_refreshsqlmodule

sp_dbmmonitorchangealert

sp_refreshview

sp_dbmmonitorchangemonitoring

sp_releaseapplock

sp_dbmmonitordropalert

sp_rename

sp_dbmmonitordropmonitoring

sp_renamedb

sp_dbmmonitorhelpalert

sp_resetstatus

sp_dbmmonitorhelpmonitoring

sp_serveroption

sp_dbmmonitorresults

sp_setnetname

sp_dboption

sp_settriggerorder

sp_dbremove

sp_spaceused

sp_delete_backuphistory

sp_tableoption

sp_depends

sp_unbindefault

sp_detach_db

sp_unbindrule

sp_dropdevice

sp_updateextendedproperty

sp_dropextendedproc

sp_updatestats

sp_dropextendedproperty

sp_validname

sp_dropmessage

sp_who

sp_droptype

 

See Also

Reference

System Stored Procedures (Transact-SQL)

Help and Information

Getting SQL Server 2005 Assistance