dbTalk Databases Forums  

Multiple insert on DTS

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


Discuss Multiple insert on DTS in the microsoft.public.sqlserver.dts forum.



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

Default Multiple insert on DTS - 07-15-2003 , 06:23 PM








Can we insert one Source row ,multiple times on the
destination usind DAta Driven Query task or Tranform Data
task.

If thers 1 row on the source ,I want to insert 4 or more
on the destination with the sane value . IS that possible.

Plz let me know its urgent

BAbu

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Multiple insert on DTS - 07-16-2003 , 01:51 AM






Yes it is

You use a counter and a return status of

MAIN = DTSTransformStat_SkipFetch

pretty much like in this article

Processing The Same Row More Than Once
http://www.sqldts.com/default.aspx?6,103,266,0,1


--

----------------------------
Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org



"Babu" <Gaj_babu (AT) hotmail (DOT) com> wrote

Quote:

Can we insert one Source row ,multiple times on the
destination usind DAta Driven Query task or Tranform Data
task.

If thers 1 row on the source ,I want to insert 4 or more
on the destination with the sane value . IS that possible.

Plz let me know its urgent

BAbu



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.