[ Merge Replication ]
I work with a software that the act deletion and creation of the table and deletion and creation and change of the field by the users happens so much.
for deletion of the table using this command :
sp_dropmergearticle @publication='DB_Doc',
@article = 'TABLE65',
@force_invalidate_snapshot=1
, but after execute this command displayed below message :
"Cannot drop article 'TABLE65' from publication 'DB_Doc' because its snapshot has been run and this publication could have active subscriptions."
how can i drop the table in active merge replication with T-SQL(System Stored Procedure)?
thanks.