Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
46 Cards in this Set
- Front
- Back
Create and store a user defined message inside the instance
|
sp_addmessage
|
|
Create a backup device
|
sp_addumpdevice
|
|
Alter a user defined message inside the instance
|
sp_altermessage
|
|
Attache a database file to the instance
|
sp_attach_db
|
|
Attach a database file when no associated log file is avaialbe
|
sp_attach_single_file_db
|
|
Display or alter the UPDATE STATISTICS setting for a table
|
sp_autostats
|
|
Display or alter instance configuration settings for instance
|
sp_configure
|
|
sp_configure 'options'
|
allow updates
backup compression default clr enabled cross db ownership chaining default language filestream access level max text repl size (B) nested triggers remote access remote admin connections remote login timeout (s) remote proc trans remote query timeout (s) server trigger recursion show advanced options user options |
|
sp_configure after 'show advanced options', 1
|
access check cache bucket count
access check cache quota Ad Hoc Distributed Queries affinity I/O mask affinity mask Agent XPs allow updates awe enabled backup compression default blocked process threshold (s) c2 audit mode clr enabled common criteria compliance enabled cost threshold for parallelism cross db ownership chaining cursor threshold Database Mail XPs default full-text language default language default trace enabled disallow results from triggers EKM provider enabled filestream access level fill factor (%) ft crawl bandwidth (max) ft crawl bandwidth (min) ft notify bandwidth (max) ft notify bandwidth (min) index create memory (KB) in-doubt xact resolution lightweight pooling locks max degree of parallelism max full-text crawl range max server memory (MB) max text repl size (B) max worker threads media retention min memory per query (KB) min server memory (MB) nested triggers network packet size (B) Ole Automation Procedures open objects optimize for ad hoc workloads PH timeout (s) precompute rank priority boost query governor cost limit query wait (s) recovery interval (min) remote access remote admin connections remote login timeout (s) remote proc trans remote query timeout (s) Replication XPs scan for startup procs server trigger recursion set working set size show advanced options SMO and DMO XPs SQL Mail XPs transform noise words two digit year cutoff user connections user options xp_cmdshell |
|
Create statistics for columns in a table
|
sp_createstats
|
|
Cycle the error log as if the server had been restarted
|
sp_cycle_errorlog
|
|
Display List of supported data types
|
sp_datatype_info
|
|
Alters database behaviors to be compatible with previous versions
|
sp_dbcmptlevel
|
|
Display or alter configuration settings for a database
|
sp_dboption
|
|
Remove a database and all associated database file
|
sp_dbremove
(backwards compatiability only) |
|
Delete backups and restore entries in msdb older than specfied date
|
sp_delete_backuphistory
|
|
Display dependency information about the specified object
|
sp_depends 'object'
|
|
Detach a database
|
sp_detach_db
|
|
Delete a device from the instance
|
sp_dropdevice
|
|
Remove a user defined message from the instance
|
sp_dropmessage
|
|
Execute a T-SQL statment
|
sp_executesql @stmt
|
|
Return info about specified database object
|
sp_help
|
|
Retun info about a specified database
|
sp_helpdb
|
|
Return info about backup device
|
sp_help_device @devname
|
|
Return name of DLL for extended stored procedure
|
sp_helpextendedproc
|
|
Return information on specified database files or all db files
|
sp_helpfile
|
|
Return info on filegroup
|
sp_helpfilegroup
|
|
Return index information
|
sp_helpindex @objectname
|
|
Return info on remote, linked or replicated servers
|
sp_helpserver
|
|
Return sort order
|
sp_helpsort
|
|
Return statistic information on specified table
|
sp_helpstats
|
|
return the definition of object
|
sp_helptext
|
|
return information on DML triggers
|
sp_helptrigger @tablename
|
|
Confiure locking options for specified table or index
|
sp_indexoption
|
|
Return information about locks
|
sp_lock
|
|
Get stats for instance
|
sp_monitor
|
|
Configure the specified stored procedure to be executed when the server instance is started
|
sp_procoption
|
|
Configure a procedure or trigger to be recompiled upon next execution
|
sp_recompile
|
|
Refresh metadata for a view
|
sp_refreshview @viewname
|
|
Alter the name of a specified object
|
sp_rename
|
|
Alter name of a database
|
sp_renamedb
|
|
configure teh AFTER triggers to be fired either first or last
|
sp_settriggerorder
|
|
Return space information for the specified object or current database
|
sp_spaceused
|
|
Configure option for specified table
|
sp_tableoption
|
|
Update statistics for all tables in database
|
sp_updatestats
|
|
Return information about the specified login or all logins currently connected to the instance
|
sp_who
|