sql - How to Remove a Column Article for Transaction Replication -


i followed direction following link, how to: define , modify column filter (replication transact-sql programming). have setup i'm replicating @ table, users. no longer want replicate column, ssn. test, inserted new row users table including ssn. executed following sql statements no errors. after synced publication using replication monitor, new row didn't show in replicated database. decided insert , resync. other row didn't show new 1 did missing ssn expected. there did wrong?

exec  sp_articlecolumn       @publication = n'publisher test 01', @article = n'users', @column = n'ssn', @operation = n'drop', @force_invalidate_snapshot = 1, @force_reinit_subscription = 1 exec  sp_articleview         @publication = n'publisher test 01', @article = n'users', @change_active = 1 exec  sp_startpublication_snapshot @publication = 'publisher test 01' exec  sp_reinitsubscription  @publication = n'publisher test 01', @article = n'users',  @subscriber = n'test', @destination_db = n'test01_replication' 


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -