Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
sp_resetsnapshotdeliveryprogress (Transact-SQL)
Collapse the table of content
Expand the table of content

sp_resetsnapshotdeliveryprogress (Transact-SQL)

Applies To: SQL Server 2014, SQL Server 2016 Preview

Topic Status: Some information in this topic is preview and subject to change in future releases. Preview information describes new features or changes to existing features in Microsoft SQL Server 2016 Community Technology Preview 2 (CTP2).

Resets the snapshot delivery process for a pull subscription so that snapshot delivery can be restarted. Executed at the Subscriber on the subscription database.

Topic link icon Transact-SQL Syntax Conventions

sp_resetsnapshotdeliveryprogress [ [ @verbose_level = ] verbose_level ]
    [ , [ @drop_table = ] 'drop_table' ]

[ @verbose_level= ] verbose_level

Specifies the amount of information returned. verbose_levelis int, with a default of 1. A value of 1 means that an error is returned if the necessary locks cannot be obtained on the MSsnapshotdeliveryprogress table, and 0 means that no error is returned.

[ @drop_table= ] 'drop_table'

Is whether to drop or truncate the table containing information on the progress of the snapshot.drop_table is nvarchar(5), with a default of FALSE. false means that the table is truncated, and true means the table is dropped.

0 (success) or 1 (failure)

sp_resetsnapshotdeliveryprogress removes all rows in the MSsnapshotdeliveryprogress table. This effectively removes all metadata left behind at the subscription database by any previous progress made in the snapshot delivery processes.

Only members of the sysadmin fixed server role or the db_owner fixed database role can execute sp_resetsnapshotdeliveryprogress.

Community Additions

ADD
Show:
© 2015 Microsoft