sys.sp_helpdistributor_properties
Stored Procedures

Returns Distributor properties. This stored procedure is executed at the Distributor on the The maximum number of minutes that an agent can go without logging is used with all types of replication.

#stored-procedure
sys.sp_helpdynamicsnapshot_job
Stored Procedures

Returns information on agent jobs that generate filtered data snapshots. This stored procedure is executed at the Publisher on the publication database. information on all filtered data snapshot jobs that match the specified The name of a filtered data snapshot job. , which returns all dynamic jobs for a publication with the specified . If a job name wasn't explicit

#stored-procedure
sys.sp_helpextendedproc
Stored Procedures

Reports the currently defined extended stored procedures and the name of the dynamic-link library (DLL) to which the procedure (function) belongs.

#stored-procedure
sys.sp_helpfile
Stored Procedures

Returns the physical names and attributes of files associated with the current database. Use this stored procedure to determine the names of files to attach to or detach from the server. The logical name of any file in the current database. isn't specified, the attributes of all files in the current database are returned. Numeric identifier of the file. A value isn'

#stored-procedure
sys.sp_helpfilegroup
Stored Procedures

Returns the names and attributes of filegroups associated with the current database. The logical name of any filegroup in the current database. isn't specified, all filegroups in the current database are listed and only the first result set shown in the Result Sets section is displayed.

#stored-procedure
sys.sp_helpindex
Stored Procedures

Reports information about the indexes on a table or view. The qualified or nonqualified name of a user-defined table or view. , with no default. Quotation marks are required only if a qualified table or view name is specified.

#stored-procedure
sys.sp_helplanguage
Stored Procedures

Reports information about a particular alternative language or about all languages in SQL The name of the alternative language for which to display information. is specified, information about the specified language is returned. If language isn't specified, information about all languages in the compatibility view is returned. Langua

#stored-procedure
sys.sp_helplinkedsrvlogin
Stored Procedures

Provides information about login mappings defined against a specific linked server used for distributed queries and remote stored procedures.

#stored-procedure
sys.sp_helplogins
Stored Procedures

Provides information about logins and the users associated with them in each database. isn't specified, information about all logins is The first report contains information about each login specified, as shown in the following

#stored-procedure
sys.sp_helplogreader_agent
Stored Procedures

Returns properties of the Log Reader Agent job for the publication database. This stored procedure is executed at the Publisher on the publication database. non-SQL Server Publishers only. The value of this parameter must be Security mode used by the agent when connecting to the Publisher, which can be one of the following values:

#stored-procedure
sys.sp_helpmergealternatepublisher
Stored Procedures

Returns a list of all servers enabled as alternate Publishers for merge publications. This stored procedure is executed at the Subscriber on the subscription database.

#stored-procedure
sys.sp_helpmergearticle
Stored Procedures

Returns information about an article. This stored procedure is executed at the Publisher on the publication database or at a republishing Subscriber on the subscription database.

#stored-procedure
sys.sp_helpmergearticlecolumn
Stored Procedures

Returns the list of columns in the specified table or view article for a merge publication. Because stored procedures don't have columns, this stored procedure returns an error if a stored procedure is specified as the article. This stored procedure is executed at the Publisher The name of a table or view that is the article to retrieve information on.

#stored-procedure
sys.sp_helpmergearticleconflicts
Stored Procedures

Returns the articles in the publication that have conflicts. This stored procedure is executed at the Publisher on the publication database, or at the Subscriber on the merge subscription The name of the merge publication. returns all articles in the database that have conflicts.

#stored-procedure
sys.sp_helpmergeconflictrows
Stored Procedures

Returns the rows in the specified conflict table. This stored procedure is run on the computer where the conflict table is stored. specified, all conflicts qualified by the publication are returned. For example, if the table has conflict rows for the retrieves conflicts that pertain to the The name of the conflict table. , with no default.

#stored-procedure
sys.sp_helpmergedeleteconflictrows
Stored Procedures

Returns information on data rows that lost delete conflicts. This stored procedure is executed at the Publisher on the publication database or at the Subscriber on the subscription database when decentralized conflict logging is used. specified, all conflicts qualified by the publication are returned.

#stored-procedure
sys.sp_helpmergefilter
Stored Procedures

Returns information about merge filters. This stored procedure is executed at the Publisher on , which returns the names of all The name of the filter about which to return information.

#stored-procedure
sys.sp_helpmergepartition
Stored Procedures

Returns partition information for the specified merge publication. This stored procedure is executed at the Publisher on any database. value used to define a partition. Supply this parameter to limit the result set to only partitions where resolves to the supplied value. value used to define a partition.

#stored-procedure
sys.sp_helpmergepublication
Stored Procedures

Returns information about a merge publication. This stored procedure is executed at the Publisher on the publication database. information about all merge publications in the current database. A flag to indicate returning rows. is an OUTPUT parameter of type indicates the publication is found. indicates the publication isn't found.

#stored-procedure
sys.sp_helpmergepullsubscription
Stored Procedures

Returns information about pull subscriptions that exist at a Subscriber. This stored procedure is executed at the Subscriber on the subscription database. information about all merge publications and subscriptions in the current database is returned.

#stored-procedure
sys.sp_helpmergesubscription
Stored Procedures

Returns information about a subscription to a merge publication, both push and pull. This stored procedure is executed at the Publisher on the publication database or at a republishing Subscriber on the subscription database. must already exist and conform to the rules for merge publications and subscriptions in the current database is returned.

#stored-procedure
sys.sp_helpntgroup
Stored Procedures

Reports information about Windows groups with accounts in the current database.

#stored-procedure
sys.sp_helppeerrequests
Stored Procedures

Returns information on all status requests received by participants in a peer-to-peer replication topology, where these requests were initiated by executing published database in the topology. This stored procedure is executed on the publication database at a Publisher participating in a peer-to-peer replication topology. For more Peer-to-Peer - Transactional Replication Transact-SQL syntax conven

#stored-procedure
sys.sp_helppeerresponses
Stored Procedures

Returns all responses to a specific status request received from a participant in a peer-to-peer replication topology, where the request was initiated by executing any published database in the topology. This stored procedure is executed on the publication database at a Publisher participating in a peer-to-peer replication topology.

#stored-procedure
sys.sp_helppublication
Stored Procedures

Returns information about a publication. For a SQL Server publication, execute this stored procedure at the Publisher on the publication database. For an Oracle publication, execute this stored procedure at the Distributor on any database.

#stored-procedure
sys.sp_helppublication_snapshot
Stored Procedures

Returns information on the Snapshot agent for a given publication. Execute this stored procedure at the Publisher on the publication database. Specifies a non-SQL Server publisher. when you add an article to a SQL Server Publisher.

#stored-procedure
sys.sp_helppullsubscription
Stored Procedures

Drops an anonymous agent for replication monitoring at the distributor from the Publisher. This stored procedure is executed at the Publisher on any database. The global identifier for an anonymous subscription. default. This identifier can be retrieved at the Subscriber using field of the returned result set is this global identifier. The type of subscription.

#stored-procedure
sys.sp_helpqreader_agent
Stored Procedures

Returns properties of the Queue Reader agent. This stored procedure is executed at the Distributor on the distribution database or at the Publisher on any database. Specifies whether the stored procedure is called at the Publisher or at the Distributor. means that the stored procedure is called from the Publisher. means that the stored procedure is called from the D

#stored-procedure
sys.sp_helpremotelogin
Stored Procedures

Reports information about remote logins for a particular remote server, or for all remote servers, defined on the local server. Specifies the remote server about which the remote login information is returned. about all remote servers defined on the local server is returned. A specific remote login on the remote server. isn't specified, information about all remote

#stored-procedure
sys.sp_helpreplfailovermode
Stored Procedures

Displays the current failover mode of a subscription. This stored procedure is executed at the Subscriber on any database. For more information about failover modes, see Subscriptions - For Transactional Replication The name of the Publisher that is participating in the update of this Subscriber. , with no default. The Publisher must already be configured for publis

#stored-procedure
sys.sp_helpreplicationdboption
Stored Procedures

Shows whether databases at the Publisher are enabled for replication. This stored procedure is executed at the Publisher on any database. Not supported for Oracle Publishers. databases at the Publisher, otherwise only information on the specified database is returned. Information isn't returned for any databases on which the user doesn't have the appropriate Restric

#stored-procedure
sys.sp_helpreplicationoption
Stored Procedures

Shows the types of replication options enabled for a server. This stored procedure is executed at any server on any database.

#stored-procedure
sys.sp_helprole
Stored Procedures

Returns information about the roles in the current database.

#stored-procedure
sys.sp_helprolemember
Stored Procedures

Returns information about the direct members of a role in the current database.

#stored-procedure
sys.sp_helprotect
Stored Procedures

Returns a report that's information about user permissions for an object, or statement permissions, in the current database. Doesn't list permissions that are always assigned to the fixed server roles or fixed database roles. Doesn't include logins or users that receive permissions based on their membership in a The name of the object in the current database, or a s

#stored-procedure
sys.sp_helpserver
Stored Procedures

Reports information about a particular remote or replication server, or about all servers of both types. Provides the server name, the network name of the server, the replication status of the server, the identification number of the server, and the collation name. Also provides time-out values for connecting to, or queries against, linked servers.

#stored-procedure
sys.sp_helpsort
Stored Procedures

Displays the sort order and character set for the instance of SQL Server. Returns server default collation. If an instance of SQL Server is installed with a collation specified to be compatible with an earlier installation of SQL Server, returns blank results.

#stored-procedure
sys.sp_helpsrvrole
Stored Procedures

Returns a list of the SQL Server fixed server roles.

#stored-procedure
sys.sp_helpsrvrolemember
Stored Procedures

Returns information about the members of a SQL Server fixed server role.

#stored-procedure
sys.sp_helpstats
Stored Procedures

Returns statistics information about columns and indexes on the specified table. Specifies the table on which to provide statistics information. no default. A one-part or two-part name can be specified. Specifies the extent of information to provide.

#stored-procedure
sys.sp_helpsubscriberinfo
Stored Procedures

Displays information about a Subscriber. This stored procedure is executed at the Publisher on , and defaults to the name of the current shouldn't be specified, except when it's an Oracle Publisher.

#stored-procedure
sys.sp_helpsubscription
Stored Procedures

Lists subscription information associated with a particular publication, article, Subscriber, or set of subscriptions. This stored procedure is executed at a Publisher on the publication database.

#stored-procedure
sys.sp_helpsubscription_properties
Stored Procedures

Retrieves security information from the is executed at the Subscriber. information on all Publishers.

#stored-procedure
sys.sp_helpsubscriptionerrors
Stored Procedures

Returns all transactional replication errors for a given subscription. This stored procedure is executed at the Distributor on the distribution database.

#stored-procedure
sys.sp_helptext
Stored Procedures

Displays the definition of a user-defined rule, default, unencrypted Transact-SQL stored procedure, user-defined Transact-SQL function, trigger, computed column, view, or system object such as a system stored procedure. The qualified or nonqualified name of a user-defined, schema-scoped object. , with no default.

#stored-procedure
sys.sp_helptracertokenhistory
Stored Procedures

Returns detailed latency information for specified tracer tokens, with one row being returned for each Subscriber. This stored procedure is executed at the Publisher on the publication database or at the Distributor on the distribution database.

#stored-procedure
sys.sp_helptracertokens
Stored Procedures

Returns one row for each tracer token that was inserted into a publication to determine latency. This stored procedure is executed at the Publisher on the publication database or at the Distributor on the distribution database.

#stored-procedure
sys.sp_helptrigger
Stored Procedures

Returns the type or types of data manipulation language (DML) triggers defined on the specified table for the current database. can't be used with data definition language (DDL) triggers. Query the The name of the table in the current database for which to return trigger information.

#stored-procedure
sys.sp_helpuser
Stored Procedures

Reports information about database-level principals in the current database.

#stored-procedure
sys.sp_helpxactsetjob
Stored Procedures

Displays information on the Xactset job for an Oracle Publisher. This stored procedure is executed at the Distributor on any database.

#stored-procedure
sys.sp_indexes
Stored Procedures

Returns index information for the specified remote table.

#stored-procedure
sys.sp_indexoption
Stored Procedures

Sets locking option values for user-defined clustered and nonclustered indexes or tables with The SQL Server Database Engine automatically makes choices of page-, row-, or table-level locking. You don't have to set these options manually. users who know with certainty that a particular type of lock is always appropriate. The qualified or nonqualified name of a user-

#stored-procedure
sys.sp_invalidate_textptr
Stored Procedures

Invalidates the specified in-row text pointer, or all in-row text pointers, in the transaction.

#stored-procedure
sys.sp_invoke_external_rest_endpoint
Stored Procedures

stored procedure invokes an HTTPS REST endpoint provided as an input argument to the procedure. To mitigate the risk of unauthorized access or transfer of data, consider the following security : Ensure that only authorized users have access to sensitive data and REST API endpoints. Use the database roles and privileges. : Ensure that all REST calls are authenticate

#stored-procedure
sys.sp_ivindexhasnullcols
Stored Procedures

Validates that the clustered index of the indexed view is unique, and doesn't contain any when the indexed view is going to be used to create a transactional publication. This stored procedure is executed at the Publisher on the publication database.

#stored-procedure
sys.sp_kill_filestream_non_transacted_handles
Stored Procedures

Closes nontransactional file handles to FileTable data.

#stored-procedure
sys.sp_link_publication
Stored Procedures

Sets the configuration and security information used by synchronization triggers of immediate updating subscriptions when connecting to the Publisher. This stored procedure is executed at the Subscriber on the subscription database.

#stored-procedure
sys.sp_linkedservers
Stored Procedures

Returns the list of linked servers defined in the local server. (success) or a nonzero number (failure). Friendly name of the OLE DB provider managing access to the Product name of the linked server. OLE DB data source property corresponding to the specified OLE DB provider string property corresponding to the linked

#stored-procedure
sys.sp_lock
Stored Procedures

Reports information about locks. A Database Engine session ID number from information about the session. If isn't specified, information about all locks is displayed. Another Database Engine session ID number from and about which the user also wants information. This feature will be removed in a future version of SQL Server. Avoid using this feature in new developme

#stored-procedure
sys.sp_lookupcustomresolver
Stored Procedures

Returns the information on a business logic handler or the class identifier (CLSID) value of a COM-based custom resolver component that is registered at the Distributor. This stored procedure is executed at the Publisher on the publication database. Specifies the name of the custom business logic being unregistered. , with no default.

#stored-procedure
sys.sp_manage_distributed_transaction
Stored Procedures

commits, aborts, or forgets a specified transaction. Specifies the MSDTC transaction ID (transaction unit of work). Specifies operation to perform. Valid values are Arguments for extended stored procedures must be entered in the specific order as section.

#stored-procedure
sys.sp_manage_jobs_by_login
Stored Procedures

Deletes or reassigns jobs that belong to the specified login. The action to take for the specified login. The login name of the current job owner. The login name of the new job owner.

#stored-procedure
sys.sp_markpendingschemachange
Stored Procedures

Used for supportability of merge publications by enabling an administrator to skip selected pending schema changes, so that they aren't replicated. This stored procedure is executed at the Publisher on the publication database. Identifies a pending schema change. sp_enumeratependingschemachanges to list the pending schema changes for the publication. This stored procedure can cause schema changes

#stored-procedure
sys.sp_marksubscriptionvalidation
Stored Procedures

Marks the current open transaction to be a subscription-level validation transaction for the specified subscriber. This stored procedure is executed at the Publisher on the publication The name of the destination database.

#stored-procedure
sys.sp_mergearticlecolumn
Stored Procedures

Partitions a merge publication vertically. This stored procedure is executed at the Publisher on The name of the article in the publication. Identifies the columns on which to create the vertical partition. , all columns in the source table are added columns from an article, execute for each column to be removed from the specified

#stored-procedure
sys.sp_mergecleanupmetadata
Stored Procedures

Should only be used in replication topologies that include servers running versions of SQL Server before SQL Server 2000 (8.x) Service Pack 1. administrators to clean up metadata in the system tables. This stored procedure is executed at the Publisher on the metadata for all publications. The publication must already exist if explicitly specified. Specifies whether

#stored-procedure
sys.sp_mergedummyupdate
Stored Procedures

Does a dummy update on the given row, so that it sends again during the next merge. This stored procedure can be executed at the Publisher, on the publication database, or at the Subscriber, on the subscription database.

#stored-procedure
sys.sp_mergemetadataretentioncleanup
Stored Procedures

Performs a manual cleanup of metadata in the MSmerge_past_partition_mappings MSmerge_current_partition_mappings system tables. This stored procedure is executed at each Publisher and Subscriber in the topology.

#stored-procedure
sys.sp_mergesubscription_cleanup
Stored Procedures

Removes metadata, such as triggers and entries, in after the specified merge push subscription is removed at the Publisher. This stored procedure is run at the Subscriber on the subscription database.

#stored-procedure
sys.sp_migrate_user_to_contained
Stored Procedures

Converts a database user that is mapped to a SQL Server login, to a contained database user with password. In a contained database, use this procedure to remove dependencies on the instance of SQL Server where the database is installed.

#stored-procedure
sys.sp_monitor
Stored Procedures

Displays statistics about SQL Server. Number of elapsed seconds since Number of seconds that the server computer's CPU has done SQL Server work. Number of seconds that SQL Server spent doing input and output operations. Number of seconds that SQL Server was idle.

#stored-procedure
sys.sp_mschange_distribution_agent_properties
Stored Procedures

fixed server role at the Distributor can execute sp_addpushsubscription_agent (Transact-SQL) sp_addsubscription (Transact-SQL)

#stored-procedure
sys.sp_mschange_feed_ddl_event
Stored Procedures

2022 (16.x) and later versions Mirrored databases in Microsoft SQL database in Microsoft Fabric Internal procedure that handles data definition language events. This system stored procedure is used for: SQL database in Microsoft Fabric Microsoft Fabric mirrored databases Identified for informational purposes only. Not supported.

#stored-procedure
sys.sp_mschange_logreader_agent_properties
Stored Procedures

Changes the properties of a Log Reader Agent job that runs at a SQL Server 2005 (9.x) or later version Distributor. This stored procedure is used to change properties when the Publisher runs on an instance of SQL Server 2000 (8.x). This stored procedure is executed at the Distributor on The name of the publication database.

#stored-procedure
sys.sp_mschange_merge_agent_properties
Stored Procedures

Changes the properties of a Merge Agent job that runs at a SQL Server 2005 (9.x) or later version Distributor. This stored procedure is used to change properties when the Publisher runs on an instance of SQL Server 2000 (8.x). This stored procedure is executed at the Distributor on The name of the publication database.

#stored-procedure
sys.sp_mschange_snapshot_agent_properties
Stored Procedures

Changes the properties of a Snapshot Agent job that runs at a SQL Server 2005 (9.x) or later version Distributor. This stored procedure is used to change properties when the Publisher runs on an instance of SQL Server 2000 (8.x).

#stored-procedure
sys.sp_mshasdbaccess
Stored Procedures

Lists the name and owner of all the databases to which the user has access. Execute permission is granted to the sys.sysdatabases (Transact-SQL)

#stored-procedure
sys.sp_msx_defect
Stored Procedures

Removes the current server from multiserver operations. Specifies whether to force the defection to occur if the Master SQLServerAgent has been permanently lost due to an irreversibly corrupt , which indicates that no forced defection should After you force a defection by executing server role at the Master SQLServerAgent must run the following command to complete t

#stored-procedure
sys.sp_msx_enlist
Stored Procedures

Adds the current server to the list of available servers on the master server.

#stored-procedure
sys.sp_msx_get_account
Stored Procedures

Lists information on the credential that the target server uses to sign in to the master server. Returns the following result set: Master server connection number.

#stored-procedure
sys.sp_msx_set_account
Stored Procedures

Sets the SQL Server Agent master server account name and password on the target server.

#stored-procedure
sys.sp_notify_operator
Stored Procedures

Sends an e-mail message to an operator using Database Mail.

#stored-procedure
sys.sp_oacreate
Stored Procedures

Destroys a created OLE object. The object token of an OLE object that was previously created by using (success) or a nonzero number (failure) that is the integer value of the HRESULT returned by the OLE Automation object. For more information about HRESULT return codes, see OLE automation return codes and error Arguments for extended stored procedures must be entere

#stored-procedure
sys.sp_oadestroy
Stored Procedures

Destroys a created OLE object. The object token of an OLE object that was previously created by using (success) or a nonzero number (failure) that is the integer value of the HRESULT returned by the OLE Automation object. For more information about HRESULT return codes, see OLE automation return codes and error Arguments for extended stored procedures must be entere

#stored-procedure
sys.sp_oageterrorinfo
Stored Procedures

Help context ID in the Help source file. Each call to an OLE Automation stored procedure (except ) resets the error information; therefore, obtains error information only for the most recent OLE Automation stored procedure call. Because doesn't reset the error information, it can be called multiple times to get the same error information. The following table lists OLE Automation errors and their c

#stored-procedure
sys.sp_oagetproperty
Stored Procedures

Gets a property value of an OLE object. The object token of an OLE object that was previously created by using The property name of the OLE object to return. The returned property value. If specified, it must be a local variable of the appropriate data Arguments for extended stored procedures must be entered in the specific order as section.

#stored-procedure
sys.sp_oamethod
Stored Procedures

Calls a method of an OLE object. The object token of an OLE object that was previously created by using The method name of the OLE object to call. The return value of the method of the OLE object. If specified, it must be a local variable of the Arguments for extended stored procedures must be entered in the specific order as section. If the parameters are entered o

#stored-procedure
sys.sp_oasetproperty
Stored Procedures

Sets a property of an OLE object to a new value. The object token of an OLE object previously created by The property name of the OLE object to set to a new value. The new value of the property, and must be a value of the appropriate data type. Arguments for extended stored procedures must be entered in the specific order as section.

#stored-procedure
sys.sp_oastop
Stored Procedures

Stops the server-wide OLE Automation stored procedure execution environment. (success) or a nonzero number (failure) that is the integer value of the HRESULT returned by For more information about HRESULT return codes, see OLE automation return codes and error A single execution environment is shared by all clients that use OLE Automation stored procedures. If one c

#stored-procedure
sys.sp_password
Stored Procedures

Adds or changes a password for a SQL Server login. This feature will be removed in a future version of SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

#stored-procedure
sys.sp_persistent_version_cleanup
Stored Procedures

2019 (15.x) and later versions SQL database in Microsoft Fabric Manually starts persistent version store (PVS) cleanup process, a key element of accelerated database recovery (ADR). The cleaner removes obsolete row versions from the in-row and off- , and also removes uncommitted changes in PVS from aborted transactions.

#stored-procedure
sys.sp_pkeys
Stored Procedures

Returns primary key information for a single table in the current environment. Syntax for SQL Server, Azure SQL Database, Azure Synapse Analytics, Analytics Platform System Specifies the table for which to return information. Wildcard pattern matching isn't supported. Specifies the table owner of the s

#stored-procedure
sys.sp_polybase_join_group
Stored Procedures

2016 (13.x) and later versions Adds a SQL Server instance as a compute node to a PolyBase group for scale-out computation. The SQL Server instance must have the feature installed. PolyBase enables the integration of non-SQL Server data sources, such as Hadoop and Azure Blob Storage. See also The name of the machine that hosts the SQL Server head node of t

#stored-procedure
sys.sp_polybase_leave_group
Stored Procedures

2016 (13.x) and later versions Removes a SQL Server instance from a PolyBase group for scale-out computation. The SQL Server instance must have the feature installed. PolyBase enables the integration of non-SQL Server data sources, such as Hadoop and Azure Blob Storage. See also sp_polybase_join_group Requires CONTROL SERVER permission.

#stored-procedure
sys.sp_post_msx_operation
Stored Procedures

Inserts operations (rows) into the system table for target servers to download The type of operation for the posted operation.

#stored-procedure
sys.sp_posttracertoken
Stored Procedures

This procedure posts a tracer token into the transaction log at the Publisher and begins the process of tracking latency statistics. when the tracer token is written to the transaction log; when the Log Reader Agent picks it up; and when the Distribution Agent applies it. This stored procedure is executed at the Publisher on the publication database. For more Measure Latency and Validate Connectio

#stored-procedure
sys.sp_prepare
Stored Procedures

Prepares a parameterized Transact-SQL statement and returns a statement in a tabular data stream (TDS) packet. is a required parameter with an Identifies parameterized statements. is a required OUTPUT parameter that calls for an definition of variables is substituted for parameter markers in the statement. Input a value if the stateme

#stored-procedure
sys.sp_prepexec
Stored Procedures

Prepares and executes a parameterized Transact-SQL statement. is a required parameter with an Identifies parameterized statements. The definition of variables is substituted for parameter markers in the statement. is a required parameter that calls for an value if the statement isn't parameterized.

#stored-procedure
sys.sp_prepexecrpc
Stored Procedures

Prepares and executes a parameterized stored procedure call specified using a remote procedure call (RPC) identifier. The SQL Server-generated prepared handle identifier. is a required parameter with an Defines the stored procedure call using ODBC canonical syntax. Arguments for extended stored procedures must be entered in the specific order as section.

#stored-procedure
sys.sp_primarykeys
Stored Procedures

Returns the primary key columns, one row per key column, for the specified remote table.

#stored-procedure