dbTalk Databases Forums  

SSIS Newbie: How to handle primary keys when importing data?

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss SSIS Newbie: How to handle primary keys when importing data? in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jerry J
 
Posts: n/a

Default SSIS Newbie: How to handle primary keys when importing data? - 10-25-2006 , 07:01 AM






Hi,

I have several clients that have data in an Access.mdb. I also have a SQL
server database that has the same tables and fields that exist in the Access
database. I need to import the data from the Access databases into the single
SQL Server database.

What I would like to know is how to handle the primary keys that exist on
each table? I have written an SSIS program that imports all the data in each
Access table to the mirror table in SQL Server. This works great for the
first Access database, however, because the other Access databases have
duplicate primary keys, it is a problem importing the rest.

Can someone tell me if there is a standard way to handle this issue?


--
Jerry J

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.