dbTalk Databases Forums  

How to pass parameters to a innerquery

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


Discuss How to pass parameters to a innerquery in the microsoft.public.sqlserver.dts forum.



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

Default How to pass parameters to a innerquery - 01-19-2004 , 02:49 AM






Hi , I am using a query for a transform data task.The
inner query takes 2 parameters but when i am trying to set
parameters it is saying access voilation.I do not want to
create stored procedure although it is working .Can anyone
tell me the way how to pass parameters to a inner query or
in union queries.
thanks & regards,
Prashant

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

Default Re: How to pass parameters to a innerquery - 01-19-2004 , 03:17 AM






Unfortunately the syntax support for (OLE-DB) parameters is rather limited.
A workaround -

Global Variables and SQL statements in DTS
(http://www.sqldts.com/default.aspx?205)


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

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

Quote:
Hi , I am using a query for a transform data task.The
inner query takes 2 parameters but when i am trying to set
parameters it is saying access voilation.I do not want to
create stored procedure although it is working .Can anyone
tell me the way how to pass parameters to a inner query or
in union queries.
thanks & regards,
Prashant



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.