dbTalk Databases Forums  

DTS global parameters error

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


Discuss DTS global parameters error in the microsoft.public.sqlserver.dts forum.



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

Default DTS global parameters error - 03-10-2005 , 01:47 PM






Hi all,
I have a DTS package that queries couple of tables and exports to a flat
file. It runs good if I provide all the parameters. But if I use ? in the
where clause it gives me the following error:
"No value given for one or more parameters"

I did define a couple of global parameters and attached them through the
"Parameters" button on the "Transform Data Task Properties" window.....

Any help is greatly appreciated......
_Uday

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

Default Re: DTS global parameters error - 03-10-2005 , 02:06 PM






So at what point does it throw the error?

Design time or runtime?

If it is at design time then what is the statement you are using?

"Uday" <Uday (AT) discussions (DOT) microsoft.com> wrote


Quote:
Hi all,
I have a DTS package that queries couple of tables and exports to a flat
file. It runs good if I provide all the parameters. But if I use ? in the
where clause it gives me the following error:
"No value given for one or more parameters"

I did define a couple of global parameters and attached them through the
"Parameters" button on the "Transform Data Task Properties" window.....

Any help is greatly appreciated......
_Uday


Reply With Quote
  #3  
Old   
Simon Worth
 
Posts: n/a

Default Re: DTS global parameters error - 03-10-2005 , 02:56 PM



Take any comments you may have out of the query and give it a try.

--
Simon Worth


"Uday" <Uday (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi all,
I have a DTS package that queries couple of tables and exports to a flat
file. It runs good if I provide all the parameters. But if I use ? in the
where clause it gives me the following error:
"No value given for one or more parameters"

I did define a couple of global parameters and attached them through the
"Parameters" button on the "Transform Data Task Properties" window.....

Any help is greatly appreciated......
_Uday



Reply With Quote
  #4  
Old   
Uday
 
Posts: n/a

Default Re: DTS global parameters error - 03-11-2005 , 02:05 PM



YESSSS...!!!
Worked really good after removing the comments.
Thanks a Lot..!!

Now, I'll try to run it from command prompt with parameters.

Thanks again,
_Uday

"Simon Worth" wrote:

Quote:
Take any comments you may have out of the query and give it a try.

--
Simon Worth


"Uday" <Uday (AT) discussions (DOT) microsoft.com> wrote in message
news:A4629659-3C8F-496E-A178-4E68A4BE65D9 (AT) microsoft (DOT) com...
Hi all,
I have a DTS package that queries couple of tables and exports to a flat
file. It runs good if I provide all the parameters. But if I use ? in the
where clause it gives me the following error:
"No value given for one or more parameters"

I did define a couple of global parameters and attached them through the
"Parameters" button on the "Transform Data Task Properties" window.....

Any help is greatly appreciated......
_Uday




Reply With Quote
  #5  
Old   
Simon Worth
 
Posts: n/a

Default Re: DTS global parameters error - 03-11-2005 , 02:54 PM



Glad that helped.
The error message isn't really helpful in this case.

--
Simon Worth


"Uday" <Uday (AT) discussions (DOT) microsoft.com> wrote

Quote:
YESSSS...!!!
Worked really good after removing the comments.
Thanks a Lot..!!

Now, I'll try to run it from command prompt with parameters.

Thanks again,
_Uday

"Simon Worth" wrote:

Take any comments you may have out of the query and give it a try.

--
Simon Worth


"Uday" <Uday (AT) discussions (DOT) microsoft.com> wrote in message
news:A4629659-3C8F-496E-A178-4E68A4BE65D9 (AT) microsoft (DOT) com...
Hi all,
I have a DTS package that queries couple of tables and exports to a
flat
file. It runs good if I provide all the parameters. But if I use ? in
the
where clause it gives me the following error:
"No value given for one or more parameters"

I did define a couple of global parameters and attached them through
the
"Parameters" button on the "Transform Data Task Properties"
window.....

Any help is greatly appreciated......
_Uday






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.