dbTalk Databases Forums  

Calling Sybase stored procedure from DTS Execute SQL Task

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


Discuss Calling Sybase stored procedure from DTS Execute SQL Task in the microsoft.public.sqlserver.dts forum.



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

Default Calling Sybase stored procedure from DTS Execute SQL Task - 12-07-2004 , 05:20 PM






Is it possible to call a Sybase stored procedure from DTS using the
Execute SQL Task. I'll expect to pass input variables from global
variables and receive a result set from the stored procedure. Looks
like this is no problem with SQL Server.

The Sybase connection will be via ODBC.

Thanks in advance.
John

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

Default Re: Calling Sybase stored procedure from DTS Execute SQL Task - 12-08-2004 , 07:31 AM






In message <qVqtd.100853$7i4.66204 (AT) bgtnsc05-news (DOT) ops.worldnet.att.net>,
John Doody <perseid (AT) worldnet (DOT) att.net> writes
Quote:
Is it possible to call a Sybase stored procedure from DTS using the
Execute SQL Task. I'll expect to pass input variables from global
variables and receive a result set from the stored procedure. Looks
like this is no problem with SQL Server.

The Sybase connection will be via ODBC.

Thanks in advance.
John

The Sybase provider does not support (implement) parameter support, so
you need to do it the hard way -

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


--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com

PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org



Reply With Quote
  #3  
Old   
John Doody
 
Posts: n/a

Default Re: Calling Sybase stored procedure from DTS Execute SQL Task - 12-10-2004 , 12:02 PM



Is this true for database views also? Thanks.

Darren Green wrote:
Quote:
In message <qVqtd.100853$7i4.66204 (AT) bgtnsc05-news (DOT) ops.worldnet.att.net>,
John Doody <perseid (AT) worldnet (DOT) att.net> writes

Is it possible to call a Sybase stored procedure from DTS using the
Execute SQL Task. I'll expect to pass input variables from global
variables and receive a result set from the stored procedure. Looks
like this is no problem with SQL Server.

The Sybase connection will be via ODBC.

Thanks in advance.
John



The Sybase provider does not support (implement) parameter support, so
you need to do it the hard way -

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



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

Default Re: Calling Sybase stored procedure from DTS Execute SQL Task - 12-11-2004 , 06:00 AM



In message <ixlud.110821$7i4.110553 (AT) bgtnsc05-news (DOT) ops.worldnet.att.net>,
John Doody <perseid (AT) worldnet (DOT) att.net> writes
Quote:
Is this true for database views also? Thanks.

Darren Green wrote:
In message
qVqtd.100853$7i4.66204 (AT) bgtnsc05-news (DOT) ops.worldnet.att.net>, John
Doody <perseid (AT) worldnet (DOT) att.net> writes

Is it possible to call a Sybase stored procedure from DTS using the
Execute SQL Task. I'll expect to pass input variables from global
variables and receive a result set from the stored procedure. Looks
like this is no problem with SQL Server.

The Sybase connection will be via ODBC.

Thanks in advance.
John
The Sybase provider does not support (implement) parameter
support, so you need to do it the hard way -
Global Variables and SQL statements in DTS
(http://www.sqldts.com/default.aspx?205)

This is true for parameters, so regardless of the object you cannot use
parameters through OLE-DB. This is not the same as a stored procedure
parameter, it is only when you use the ? token for an OLE-DB parameter
in the SQL. The view SQL may look like this and would work against SQL
Server -

SELECT Col1, Col2 FROM ViewName WHERE Col3 = ?


--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com

PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org



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.