Hi, I've set up a snapshot replication that runs only once per month to refresh a QC database with production data. It expires in between each run but that's not my problem in this post. About 450 tables (virtually every table in replication) have an identity column. The identity column is set to null after the snapshot. I have a script that generates all the current column values and sets the seed to that value but I have found it's harder to reseed when the value is null as opposed to a numeric so I have to jump through some hoops to get it to work.
I'm hoping there's a solution using replication and identity management. I have read that rather than dropping or truncating tables we want to delete rows instead to preserve the values. Is this true? How do I do that with replication?
Thanks!