dbTalk Databases Forums  

Insert into Master and Detail table using DTS 2005

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


Discuss Insert into Master and Detail table using DTS 2005 in the microsoft.public.sqlserver.dts forum.



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

Default Insert into Master and Detail table using DTS 2005 - 08-17-2005 , 02:07 PM






Hi
I am using yukon April CTP.
I have a excel source. Every row from excel has to go to one master table
and one detail table.

I want to know how to insert a row to master table, get the scope_identity
and then insert to detail table using SSIS.

Note: Currently sending the row from excel sheet to a stored procedure
where I am managing to insert to master and detail table.

Thanks
Harini

Reply With Quote
  #2  
Old   
Darren Green
 
Posts: n/a

Default Re: Insert into Master and Detail table using DTS 2005 - 08-18-2005 , 06:14 PM






Harini Srinivasan wrote:
Quote:
Hi
I am using yukon April CTP.
I have a excel source. Every row from excel has to go to one master table
and one detail table.

I want to know how to insert a row to master table, get the scope_identity
and then insert to detail table using SSIS.

Note: Currently sending the row from excel sheet to a stored procedure
where I am managing to insert to master and detail table.

Thanks
Harini
I think your method sounds fine. Why Multicast into two paths for the
same data? You will require twice the memory as you have twice the data
flowing through the pipeline. Whilst SSIS is very cool, and you can do
ETL vs ELT as we normally do with DTS, it doesn't mean you should do
everything in SSIS.

--
Darren Green
http://www.sqldts.com
http://www.sqlis.com


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.