Replication - User defined table type not propogating to subscriber

Posted by Aamod Thakur on Stack Overflow See other posts from Stack Overflow or by Aamod Thakur
Published on 2010-12-23T06:48:44Z Indexed on 2010/12/23 6:54 UTC
Read the original article Hit count: 300

I created a User defined table type named tvp_Shipment with two columns (id and name) . generated a snapshot and the User defined table type was properly propogated to all the subscribers.

I was using this tvp in a stored procedure and everything worked fine.

Then I wanted to add one more column created_date to this table valued parameter.I dropped the stored procedure (from replication too) and also i dropped and recreated the User defined table type with 3 columns and then recreated the stored procedure and enabled it for publication

When i generate a new snapshot, the changes in user defined table type are not propogated to the subscriber. The newly added column was not added to the subscription.

the Error messages:

The schema script 'usp_InsertAirSa95c0e23_218.sch' could not be propagated to the subscriber. (Source: MSSQL_REPL, Error number: MSSQL_REPL-2147201001)
Get help: http://help/MSSQL_REPL-2147201001
Invalid column name 'created_date'. (Source: MSSQLServer, Error number: 207)
Get help: http://help/207

© Stack Overflow or respective owner

Related posts about sql

Related posts about sql-server-2008