Quantcast
Channel: SQL Server Replication forum
Viewing all articles
Browse latest Browse all 4054

"Copy default value specifications" set to false, but new columns get a default anyway

$
0
0

I am using SQL Server 2012 transactional replication. I have set the article properties so that "Copy default value specifications" is false.

I added a new column that has a default value specified to an existing table in the Publisher database and then re-ran the replication snapshot. The default value specification was replicated to the Subscriber database for the new column. None of the previously existing columns that have defaults in the Publisher database have defaults specified in the Subscriber database, only the new column.

I had also created a new table with columns that have default values specified. The columns in that table do not have a default specified, as I would expect.

Is there something I am missing? Why would the new column in the existing table have the default specification replicated to the Subscriber database?

Thank you,

Ron Rice


Ron Rice


Viewing all articles
Browse latest Browse all 4054

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>