To synchronize a subscription for a user to a publication.
SYNCHRONIZE SUBSCRIPTION TO publication-name [ ( string ) ]
... FOR userid,...
Anywhere. This statement is applicable only to SQL Remote.
Must have DBA authority.
Automatic commit.
A SQL Remote subscription is said to be synchronized when the data in the remote database is consistent with that in the consolidated database, so that publication updates sent from the consolidated database to the remote database will not result in conflicts and errors.
To synchronize a subscription, a copy of the data in the publication at the consolidated database is sent to the remote database. The SYNCHRONIZE SUBSCRIPTION statement does this through the message system. It is recommended that where possible you use the database extraction utility instead to synchronize subscriptions without using a message system.
The following statement synchronizes the subscription of user SamS to the pub_contact publication.
SYNCHRONIZE SUBSCRIPTION TO pub_contact
FOR SamS