dbTalk Databases Forums  

Parameter Query in DTS Package

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


Discuss Parameter Query in DTS Package in the microsoft.public.sqlserver.dts forum.



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

Default Parameter Query in DTS Package - 08-20-2003 , 01:15 PM






I created a DTS package that imports text data into a SQL
table. After the import I have a parameter query to
update the imported data with a batch number. The query
is set to ask for the batch number using "?" to create
a "run time" parameter. The query runs fine in the "Data
Transformation Services Query Designer", asking for the
parameter and all. However, when running the DTS as a
whole it doesn't ask for the parameter and I get a "No
value given for one or more required parameters." error.
How do I get the DTS package to ask for the parameter?
Thanks for any help. Kathy

Reply With Quote
  #2  
Old   
JFB
 
Posts: n/a

Default Re: Parameter Query in DTS Package - 08-20-2003 , 03:52 PM






Hi Kathy,
Include "Set nocount on" at the begining of you t-sql sentence.

JFB

"Kathy Atchley" <kathy_atchley (AT) aon (DOT) com> wrote

Quote:
I created a DTS package that imports text data into a SQL
table. After the import I have a parameter query to
update the imported data with a batch number. The query
is set to ask for the batch number using "?" to create
a "run time" parameter. The query runs fine in the "Data
Transformation Services Query Designer", asking for the
parameter and all. However, when running the DTS as a
whole it doesn't ask for the parameter and I get a "No
value given for one or more required parameters." error.
How do I get the DTS package to ask for the parameter?
Thanks for any help. Kathy



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.