Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 new unique ID in replication

Author  Topic 

noamg
Posting Yak Master

215 Posts

Posted - 2006-03-12 : 11:32:13
I have an int identity column. this column must be replicated.
how to do this ? because the same value must be enter into both tables.

thanks



Noam Graizer

nr
SQLTeam MVY

12543 Posts

Posted - 2006-03-12 : 13:08:40
Not sure what your problem is but have a look at the "not for replication" property.

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page

eyechart
Master Smack Fu Yak Hacker

3575 Posts

Posted - 2006-03-12 : 15:15:37
you need to set an identity range. Here is the info from BOL

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/replsql/repldata_078z.asp



-ec
Go to Top of Page
   

- Advertisement -