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 2005 Forums
 Transact-SQL (2005)
 Data Migration

Author  Topic 

sg2255551
Constraint Violating Yak Guru

274 Posts

Posted - 2009-07-21 : 22:22:59
hi

I have an access table(tblA) with auto number as primary key and that it join to tblB as a FK

I need to migrate to MSSQL. How do i convert those numbers to unique identifier in both tblA and tblB and also make sure that both tables unique identifier relates correctly?

russell
Pyro-ma-ni-yak

5072 Posts

Posted - 2009-07-21 : 22:34:59
don't use uniqueidentifier. use int (or bigint) and make it an identity column. make sure to set identity_insert on when inserting the values (this is a checkbox if using SSIS/DTS)
Go to Top of Page
   

- Advertisement -