http://doc.helplib.com New System Stored Procedures Microsoft SQL Server includes these stored procedure sp_add_agent_parameter adds a new parameter and its value to an sp_add_agent_profile creates a new profile for a replication ag sp_add_alert creates an alert. sp_addapprole adds a special type of role in the current da sp_adddistpublisher creates a remote Publisher that uses the lo sp_adddistributiondb creates a new Distributor database and ins sp_add_category adds the specified job, alert, or operator c sp_add_data_file_recover_suspect_db adds a data to a file group whe sp_add_log_file_recover_suspect_db adds a to a file group when sp_add_job adds a new job that can be executed by SQL Ser sp_add_jobschedule adds a to the schedule of activities pe sp_add_jobserver adds the specified server to the list of tho sp_add_jobstep adds a step (operation) to a job. sp_addlinkedserver creates a linked server for use with distri sp_addlinkedsrvlogin creates a new SQL Server login mapping for sp_addmergearticle adds an article to an existing merge public sp_addmergefilter adds a new merge filter for the purpose of c sp_addmergepublication, creates a new merge publication. sp_addmergepullsubscription adds a subscription of type pull. sp_addmergepullsubscription_agent adds an agent for merge pull subscrip sp_addmergesubscription creates a push or pull merge subscription sp_add_notification sets up a notification for an alert. sp_add_operator sets up an operator (notification recipient) sp_addpublication_snapshot creates a Snapshot Agent. sp_addpublisher70 adds a SQL Server version 7.0 Publisher at sp_addpullsubscription adds a pull or an anonymous subscription a sp_addpullsubscription_agent adds a new agent to the Subscriber s da sp_addrole creates a new Microsoft SQL Server role in the sp_addrolemember adds a security account as a member of an e sp_addsrvrolemember a login as a member of a fixed server sp_addsubscriber_schedule a schedule for the Distribution Age sp_addsynctriggers creates synchronous transaction triggers at sp_add_targetservergroup adds the specified server group name. sp_add_targetsvrgrp_member adds the specified group name. Adds the sp_apply_job_to_targets removes the specified job either from tho from those servers on which the job is not currently sp_approlepassword changes the password of an application role sp_articlesynctranprocs generates synchronous transaction procedur sp_attach_db attaches a database to the specified server. sp_attach_single_file_db works with a database having only one dat sp_autostats immediately displays or changes the automatic sp_browsereplcmds returns a result set containing the replica sp_catalogs returns the list of catalogs in the named link sp_change_agent_parameter changes a parameter of Msagent_parameters a replication. sp_change_agent_profile changes a parameter of Msagent_profiles a replication agen sp_change_subscription_properties updates the security MSsubscription_properti information table. in t sp_changedistpublisher updates the properties of the distribution sp_changedistributiondb updates the properties of the distributio sp_changedistributor_property updates the properties of the Distribut Page 1/6
sp_changedistributor_password changes the password for a Distributor sp_changemergearticle changes the properties of a merge article. sp_changemergefilter changes some filter properties. sp_changemergepublication changes the properties of a merge public sp_changemergepullsubscription changes the properties of the merge pu sp_changemergesubscription changes a push or pull subscripti sp_changeobjectowner changes the owner of an object in the curr sp_changesubscriber_schedule a Subscriber s schedule for the sp_column_privileges_ex returns privileges for the specifi sp_columns_ex returns the column information for the given sp_createstats statistics for all eligible columns fo sp_cursor_list reports the attributes of server cursors curr statements. sp_cycle_errorlog closes the current error log file and cycles sp_dbcmptlevel sets certain database behaviors to be compati sp_dbfixedrolepermission displays the permissions for each fixed d sp_delete_alert removes an alert used by SQL Server Enterpris SQL Server. sp_delete_backuphistory deletes the entries in the backup and res sp_delete_category removes the specified category from the nam sp_delete_job deletes a job. sp_delete_jobschedule removes a job from the scheduled list of j sp_delete_jobserver removes the specified server from processin sp_delete_jobstep removes a job step from a job used by SQL Se sp_delete_notification removes a notification used by SQL Server the event of an error returned by SQL Server. sp_delete_operator removes an operator used by SQL Server Ente alert occurs. sp_delete_targetserver removes the specified server from the list sp_delete_targetservergroup removes the specified server from the ta sp_delete_targetsvrgrp_member removes the specified group name. sp_deletemergeconflictrow deletes msmerge_delete_conflicts rows from the table. sp_denylogin prevents a Microsoft Windows NT user or group sp_describe_cursor reports the attributes of a server cursor. sp_describe_cursor_columns reports the attributes of the columns i sp_describe_cursor_tables reports the base tables referenced by a s sp_detach_db detaches a database from the specified server sp_drop_agent_parameter drops one or MSagent_parameters all profiles table. from the sp_drop_agent_profile drops or all parameters MSagent_parameters of one table. or all prof sp_dropapprole removes an application role from the current sp_dropdistpublisher drops a Publisher that serves as its own Di sp_dropdistributiondb drops a Distributor database. sp_droplinkedsrvlogin removes an existing SQL Server login mappi sp_dropmergearticle removes an article from a merge publication sp_dropmergefilter drops a merge filter. sp_dropmergepublication drops a publication and its associa sp_dropmergepullsubscription drops a pull subscription. sp_dropmergesubscription drops a subscription to a merge publicat sp_droppullsubscription drops a subscription at the current datab sp_droprole which removes a SQL Server role from the curre sp_droprolemember removes a security account from a Microsoft sp_dropsrvrolemember removes a SQL Server login, or a Windows N sp_dumpparamcmd returns detailed information for a paramete sp_enumcodepages returns a three-column list: code page, cha sp_enumcustomresolvers returns a listing of all available custom Page 2/6
sp_foreignkeys returns the foreign keys defined on the speci sp_fulltext_catalog administers a full-text catalog. sp_fulltext_column administers a full-text indexed column. sp_fulltext_database initializes or disables full-text indexing. sp_fulltext_service changes full-text service settings. sp_fulltext_table administers a full-text indexed table. sp_generatefilters creates filters on foreign key tables when a sp_getmergedeletetype returns the type of merge delete. sp_get_distributor determines whether a Distributor is installe sp_grant_publication_access adds a login to the publication's access sp_grantdbaccess adds a security account in the current datab to be granted permissions to perform activities in th sp_grantlogin allows a Windows NT user or group account to sp_help_agent_default retrieves the ID of the default configurat sp_help_agent_parameter returns all the MSagent_parameters table. of a profile f sp_help_agent_profile displays the profile of a specified agent. sp_help_alert reports information about the alerts defined f sp_help_category provides information about the specified cla sp_helpdbfixedrole returns a list of the fixed database roles. sp_helpdistpublisher returns properties of a Publisher that serv sp_helpdistributiondb returns properties of the specified Distri sp_help_downloadlist lists all sysdownloadlist rows system in the table for the supplied specified. sp_helpfile returns the physical names and attributes of fi sp_helpfilegroup returns the names and attributes of filegrou sp_help_fulltext_catalogs gets a list of full-text catalogs. sp_help_fulltext_catalogs_cursor gets a list of full-text catalogs. sp_help_fulltext_tables gets a list of full-text indexed tables. sp_help_fulltext_tables_cursor gets a list of full-text indexed tables sp_help_fulltext_columns gets a list of full-text indexed columns. sp_help_fulltext_columns_cursor gets a list of full-text indexed colum sp_help_job returns information about jobs that are used b activities in SQL Server. sp_help_jobhistory provides information about the jobs for ser sp_help_jobschedule returns information about the scheduling of perform automated activities. sp_help_jobserver returns information about the specified job. sp_help_jobstep returns information for the steps in a job u activities. sp_helpmergearticle returns information about an article. sp_helpmergearticleconflicts returns the articles in the publication sp_helpmergeconflictrows returns the rows in the specified conflic sp_helpmergedeleteconflictrows returns the msmerge_delete_conflicts rows in the table. specified sp_helpmergefilter returns information about merge filter(s). sp_helpmergepublication returns information about a merge publica sp_helpmergepullsubscription returns information about the pull subs sp_helpmergesubscription returns information about a push subscrip sp_help_notification reports a list of notifications. sp_helpntgroup reports information about Windows NT groups w sp_help_operator reports information about the operators defi sp_helppullsubscription displays information about one or more su sp_helpreplicationdboption shows the databases that have the replic sp_helprole returns information about the roles in the cur sp_helprolemember returns information about the members of a sp_helpsrvrole returns a list of the SQL Server fixed server Page 3/6
sp_helpsrvrolemember returns information about the members of a sp_helpsubscription lists subscription information associated w subscriptions. sp_helpsubscription_properties retrieves security Mssubscription_propertie information table. from the sp_help_targetserver lists all target servers. sp_help_targetservergroup lists all servers in the specifie information on all target server groups. sp_helptrigger returns the type or types of triggers defined sp_indexes returns index information for the specified rem sp_indexoption sets option values for user-defined indexes. sp_link_publication sets the configuration and security informa the Publisher. sp_linkedservers returns the list of linked servers defined i sp_makewebtask has additional parameters. sp_manage_jobs_by_login deletes or reassigns jobs belonging to t sp_mergedummyupdate does a dummy update on the given row so t UPDATETEXT are sent during the next merge. sp_mergesubscription_cleanup removes metadata such sysmergesubscription as triggers and and e sysmergeaarticles when a merge subscription is dropped at a Sub sp_msx_defect removes the current server from multiserver o sp_msx_enlist adds the current server to the list of server sp_primarykeys returns the primary key columns for the speci sp_post_msx_operation inserts sysdownloadlist rows into system the table for target ser operations. sp_procoption sets procedure options. sp_purge_jobhistory removes the history records for jobs that h sp_refreshsubscriptions adds subscriptions to new articles in a pu publication. sp_refreshview refreshes the metadata for the specified view sp_reinitmergepullsubscription marks a subscription for reinitia sp_reinitmergesubscription marks a subscription for reinitial sp_reinitpullsubscription marks a merge subscription for reinitiali sp_reinitsubscription resynchronizes the subscription. sp_remove_job_from_targets removes the specified job from the give sp_replicationdboption sets a replication database option for the sp_replication_agent_checkup checks each distribution database for r logged history within the specified heartbeat interva sp_replshowcmds returns the commands for transactions marked sp_removedbreplication removes all replication objects from a da sp_resync_targetserver resynchronizes the specified server in the sp_revoke_publication_access removes the login from a publications a sp_revokedbaccess removes a security account from the current sp_revokelogin removes the login entries for sp_grantlogin a Windows or sp_denylogi NT us from SQL Server. sp_script_synctran_commands generates a sp_addsynctrigger script containing calls to be the applied nonsynchronous Subscriptions. sp_scriptdelproc enerates the CREATE PROCEDURE statement to c sp_scriptinsproc generates the CREATE PROCEDURE statement to sp_scriptupdproc generates the CREATE PROCEDURE statement to sp_serveroption provides these new server options: collation compatible rpc out data access system local login mapping sp_setapprole activates the permissions associated with an Page 4/6
sp_srvrolepermission returns the permissions applied to a fixed sp_start_job informs SQL Server Agent to begin the executio sp_stop_job informs SQL Server Agent to cancel the executi sp_subscription_cleanup cleans up metadata when a subscription is sp_table_privileges_ex returns privilege information about the sp sp_tables_ex returns table information on the matching remo sp_update_agent_profile updates the profile for a type of replica sp_update_alert updates information for an existing alert. sp_update_category changes the name of a category. sp_update_job changes the attributes of a job. sp_update_jobschedule changes the settings for a scheduled job. sp_update_jobstep changes the setting for a step in a job tha automated activities. sp_update_notification updates the notification method of an aler sp_update_operator updates information about an operator. sp_updatestats runs UPDATE STATISTICS against all user-defin sp_update_targetservergroup changes the name of the specified serve sp_validname checks for valid SQL Server identifier names. sp_validatelogins reports information about orphaned Windows N Windows NT environment but still have entries in the xp_sqlmaint calls sqlmaint the utility with sqlmaint a string switches. containing xp_trace_addnewqueue adds a trace queue and sets trace que xp_trace_deletequeuedefinition deletes the named trace queue from the xp_trace_destroyqueue destroys the given trace queue, but does n xp_trace_enumqueuedefname lists all currently defined trace queue xp_trace_enumqueuehandles lists all currently active trace queue xp_trace_eventclassrequired returns the class name for the event cla event class information is provided. xp_trace_flushqueryhistory flushes the last 100 SQL Server events. xp_trace_generate_event adds a user-defined event to all queues. xp_trace_getappfilter retrieves the current application filter va xp_trace_getconnectionidfilter retrieves the current connection ID fil xp_trace_getcpufilter retrieves the current CPU filter value. xp_trace_getdbidfilter retrieves the current database identificat xp_trace_getdurationfilter retrieves the current definition of the d xp_trace_geteventfilter retrieves the current event text filter de xp_trace_geteventnames lists the names of all event classes. xp_trace_getevents removes events from xp_trace_seteventclassreq the queue and returns created events as a result set. xp_trace_gethostfilter retrieves the current xp_trace_sethostfil filter and value associ is with the specified trace queue. xp_trace_gethpidfilter retrieves the host process identification xp_trace_getindidfilter retrieves the current index identification xp_trace_getntdmfilter retrieves the current Windows NT domain na xp_trace_getntnmfilter retrieves the current Windows NT computer xp_trace_getobjidfilter retrieves the current object identificatio xp_trace_getqueueautostart retrieves the current trace queue s star xp_trace_getqueuedestination retrieves the current trace queue desti xp_trace_getqueueproperties retrieves all current filters associate xp_trace_getreadfilter retrieves the current read filter. xp_trace_getserverfilter retrieves the current server filter. xp_trace_getseverityfilter retrieves the current severity filter. xp_trace_getspidfilter retrieves the current system (internal) pr xp_trace_getsysobjectsfilter retrieves the current system objects fil xp_trace_gettextfilter retrieves the current text filter. Page 5/6
Powered by TCPDF (www.tcpdf.org) xp_trace_getuserfilter retrieves the current user filter. xp_trace_getwritefilter retrieves the current write filter. xp_trace_loadqueuedefinition loads a saved trace queue definition. xp_trace_pausequeue suspends new events from being added to th xp_trace_restartqueue restarts a previously paused trace queue. xp_trace_savequeuedefinition specifies the trace queue definition to xp_trace_setappfilter specifies the application filter. xp_trace_setconnectionidfilter specifies the connection ID filter. xp_trace_setcpufilter specifies the CPU filter. xp_trace_setdbidfilter specifies the database identification numb xp_trace_setdurationfilter specifies the duration filter. xp_trace_seteventclassrequired specifies the event classes to trace or xp_trace_seteventfilter specifies the event description filter (en xp_trace_sethostfilter specifies the host name filter. xp_trace_sethpidfilter specifies the host process identification xp_trace_setindidfilter specifies the index identification number xp_trace_setntdmfilter specifies the existing Windows NT domain n xp_trace_setntnmfilter specifies the Windows NT username filter. xp_trace_setobjidfilter specifies the object identification number xp_trace_setqueryhistory captures the last 100 SQL Server events. xp_trace_setqueueautostart configures the specified trace queue for xp_trace_setqueuecreateinfo specifies the trace queue properties to xp_trace_setqueuedestination specifies the trace queue destination f xp_trace_setreadfilter specifies the read filter. xp_trace_setserverfilter specifies the SQL Server name filter. xp_trace_setseverityfilter specifies the severity filter. xp_trace_setspidfilter specifies the system process identification xp_trace_setsysobjectsfilter specifies the system objects filter. xp_trace_settextfilter specifies the text filter. xp_trace_setuserfilter specifies the SQL Server username filter. xp_trace_setwritefilter specifies the write filter. xp_trace_startconsumer starts the specified consumer for process http://doc.helplib.com Page 6/6