dbTalk Databases Forums  

Redundancy --

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


Discuss Redundancy -- in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
System.Xml.XmlDocument
 
Posts: n/a

Default Redundancy -- - 04-06-2005 , 07:05 AM






Hi

I have 3 execute statements in "Execute SQL Task" which accepts the same
input parameter (i.e package Gloabal variable)

exec InsertTestDTS @Status = ?;
exec InsertTestDTS @Status = ?;
exec InsertTestDTS @Status = ?;

Currently i have to pass in 3 parameters to the above statements in
"Parameter Mapping" dialog.

How do minimize the redundancy while passing the same input parameter in the
above case ?

Regards
Gururaja

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

Default Re: Redundancy -- - 04-06-2005 , 01:54 PM






I would split this off to 3 * ExecuteSQL tasks. Easier to manage and isolate for problems


--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.SQLIS.com - SQL Server 2005 Integration Services.
www.Konesans.com


"System.Xml.XmlDocument" <SystemXmlXmlDocument (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi

I have 3 execute statements in "Execute SQL Task" which accepts the same
input parameter (i.e package Gloabal variable)

exec InsertTestDTS @Status = ?;
exec InsertTestDTS @Status = ?;
exec InsertTestDTS @Status = ?;

Currently i have to pass in 3 parameters to the above statements in
"Parameter Mapping" dialog.

How do minimize the redundancy while passing the same input parameter in the
above case ?

Regards
Gururaja



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.