sp_add_log_file_recover_suspect_lib
當資料庫的復原不能完成時,向檔案組增加乙個日誌檔案
sp_add_targetservergroup
增家指定的伺服器組
sp_add_targetsvrgrp_member
在指定的目標伺服器組增加乙個目標伺服器
在資料庫裡增加乙個特殊的應用程式角色
sp_extendedproc
在系統中增加乙個新的擴充套件儲存過程
sp_addgroup
在當前資料庫中增加乙個組
sp_addlogin
建立乙個新的login帳戶
sp_addmessage
在系統中增加乙個新的錯誤資訊
sp_addrole
在當前資料庫中增加乙個角色
sp_addrolemember
為當前資料庫中的乙個角色增加乙個安全性帳戶
sp_addsrvrolemember
為固定的伺服器角色增加乙個成員
sp_addtype
建立乙個使用者定義的資料型別
sp_addumpdevice
增加乙個裝置備份
sp_attach_db
增加資料庫到乙個伺服器中
sp_bindefault
把預設繫結到列或者使用者定義的資料型別上
sp_bingrule
把規則繫結到列或者使用者定義的資料型別上
sp_changeobjectowner
改變物件的所有者
sp_column_privileges
返回列的許可權資訊
sp_configure
顯示或者修改當前伺服器的全域性配置
sp_createstats
建立單列的統計資訊
sp_cursorclose
關閉和釋放游標
sp_database
列出當前系統中的資料庫
sp_dboption
顯示和修改資料庫選項
sp_dbremove
刪除資料庫和該資料庫相關的檔案
sp_defaultdb
設定登陸帳戶的預設資料庫
sp_delete_targetservergroup
刪除指定目標伺服器組
sp_delete_targetsvrgrp_member
從目標伺服器組中刪除指定的伺服器
sp_depends
顯示資料庫物件的依賴資訊
sp_detach_db
分離伺服器中的資料庫
sp_drop_agent_parameter
刪除配置檔案中乙個或者多個引數
sp_drop_agent_profile
刪除配置檔案
sp_dropdevice
刪除資料庫或者備份裝置
sp_dropextendedproc
刪除乙個擴充套件系統儲存過程
sp_dropgroup
從當前資料庫中刪除乙個角色
sp_droplogin
刪除乙個登陸帳戶
sp_droprole
從當前資料庫刪除乙個角色
sp_droptype
刪除一種使用者定義的資料型別
sp_dropuser
從當前資料庫刪除乙個使用者
sp_dropwebtask
刪除以前版本定義的web服務
sp_enumcodepages
返回乙個字符集和**頁的列表
sp_foreignkeys
返回參看連線伺服器的表的主健的外來鍵
sp_grantaccess
在當前資料庫中增加乙個安全性使用者
sp_grantlogin
允許nt使用者或者組訪問sql server
sp_help
報告有關資料庫物件的資訊
sp_helpcontrain
返回有關約束的型別,名稱等資訊
sp_helpdb
返回執行資料庫或者全部資料庫資訊
sp_helpdbfixedrole
返回固定的伺服器角色列表
sp_helpdevice
返回有關資料庫檔案的資訊
sp_helpextendedproc
返回當前定義的擴充套件儲存過程資訊
sp_helpfile
返回與當前資料庫相關的物理檔案資訊
sp_helpgroup
返回當前資料庫中的角色資訊
sp_helpindex
返回有關表的索引資訊
sp_helprole
返回當前資料庫的角色資訊
sp_helprolemember
返回當前資料庫中角色成員的資訊
sp_helptext
顯示規則,預設,儲存過程,觸發器,檢視等物件的未加密的文字定義資訊
sp_helptrigger
顯示出發器型別
sp_lock
返回有關鎖的資訊
sp_primarykeys
返回主健列的資訊
sp_recompile
使儲存過程和觸發器在下一次執行時重新編譯
sp_rename
更改使用者建立的資料庫物件的名稱
sp_renamedb
更改資料庫的名稱
sp_revokedbaccess
從當前資料庫中刪除安全性帳戶
sp_runwebtask
執行以前版本中定義的web作業
sp_server_info
返回系統的屬性和匹配值
sp_spaceused
顯示資料庫空間的使用情況
sp_statistics
返回表中的所有索引列表
sp_stored_procedures
返回環境中所有的儲存過程列表
sp_unbinddefault
從列或者使用者定義的資料型別中解除預設的繫結
sp_unbindrule
從列或者使用者定義的資料型別中解除規則的繫結
sp_validname
檢查有效的系統帳戶資訊
Sql Server 2008 收縮日誌
收縮日誌 alter database dnname set recovery with no wait goalter database dnname set recovery 簡單模式 gouse dnname godbcc shrinkfile n dnname log 11,truncate...
徹底解除安裝sql server2008
微軟的開發工具在按裝和解除安裝時都讓人頭疼,只能是裝在c盤,裝在其他盤時最容易出事 在重新按裝的時候一定要把以前的例項解除安裝完才行。要不就會出錯。在解除安裝sql server後,其實還沒有完成,還要把登錄檔資訊完全刪乾淨,下面就將教您徹底刪除sql server登錄檔的方法,供您參考。在解除安裝...
SQLServer2008語句查詢
1 判斷資料庫是否存在 if exists select from sys.databases where name 資料庫名 drop database 資料庫名 2 判斷表是否存在 if exists select from sysobjects where id object id 表名 an...