Events
Mar 31, 11 PM - Apr 2, 11 PM
The biggest SQL, Fabric and Power BI learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Applies to:
SQL Server
Generates script for creating a conflict table on the Subscriber for a given queued subscription article. The script that is generated is executed at the Subscriber on the subscription database. This stored procedure is executed at the Publisher on the publication database.
Transact-SQL syntax conventions
sp_scriptsubconflicttable
[ @publication = ] N'publication'
, [ @article = ] N'article'
[ , [ @alter = ] alter ]
[ , [ @usesqlclr = ] usesqlclr ]
[ ; ]
The name of the publication that contains the article. The name must be unique in the database. @publication is sysname, with no default.
The name of the subscription article. @article is sysname, with no default.
Identified for informational purposes only. Not supported. Future compatibility is not guaranteed.
Identified for informational purposes only. Not supported. Future compatibility is not guaranteed.
0
(success) or 1
(failure).
Column name | Data type | Description |
---|---|---|
cmdtext |
nvarchar(4000) | Returns the Transact-SQL script for creating the conflict table on the Subscriber for the queued subscription article. This script is executed on the Subscriber in the subscription database. |
sp_scriptsubconflicttable
is used for Subscribers that have subscriptions where the initial snapshot is applied manually. The conflict table is an optional table at the Subscriber.
Only members of the sysadmin fixed server role or db_owner fixed database role can execute sp_scriptsubconflicttable
.
Events
Mar 31, 11 PM - Apr 2, 11 PM
The biggest SQL, Fabric and Power BI learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register today