dbTalk Databases Forums  

Table

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


Discuss Table in the microsoft.public.sqlserver.dts forum.



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

Default Table - 04-14-2005 , 11:59 AM






I have an interesting scenario. I have to exact table
structures for 2 identical systems that function the same
way. There are 3 tables that are linked via primary keys,
ex.
table 1
table 2 - linked to table 1 via table 1 ID autonumber key
table 3 - linked to table 2 via table 2 ID autonumber key

Now I need to consolidate the systems into one, the
problems is that there is data in each system and I need
to keep the linkages enact. The key values can change but
they need to keep the relationship. The ID values that
they would go into are already take (ex 1, 2, 3) so it
would need to create new key values for the imported
data. Is that possible, how?

James

Reply With Quote
  #2  
Old   
shumaker@cs.fsu.edu
 
Posts: n/a

Default Re: Table - 04-14-2005 , 12:29 PM






There's some way to set the relationships to cascade key updates I
believe. Perhaps before importing data update the keys to values that
you know are not used in the destination table.


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.