dbTalk Databases Forums  

SSIS stored procedure output parameter in Execute SQL Task

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


Discuss SSIS stored procedure output parameter in Execute SQL Task in the microsoft.public.sqlserver.dts forum.



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

Default SSIS stored procedure output parameter in Execute SQL Task - 01-17-2006 , 03:03 AM






I'm trying to get output parameter of this stored procedure from Oracle:

CREATE OR REPLACE PROCEDURE TEST(L OUT VARCHAR2) IS
BEGIN
L:='111';
select 'HELLO' into L from dual;
END TEST;

But it gets "Parameter object is improperly defined" error, i am following
the guide from this web page http://www.sqlis.com/default.aspx?58). Help,
please help!

fastfood
Thx


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

Default Re: SSIS stored procedure output parameter in Execute SQL Task - 01-17-2006 , 01:46 PM






Hello fasfood,

How have you defined the Parameter mappings. This is, unless I am much mistaken,
Oracle. In the article I am going against an OLEDB Connection. Perhaps
you are using the Managed Oracle Connection Manager. Did you follow the
link through to

http://www.sqlis.com/default.aspx?81

Allan

Quote:
I'm trying to get output parameter of this stored procedure from
Oracle:

CREATE OR REPLACE PROCEDURE TEST(L OUT VARCHAR2) IS
BEGIN
L:='111';
select 'HELLO' into L from dual;
END TEST;
But it gets "Parameter object is improperly defined" error, i am
following the guide from this web page
http://www.sqlis.com/default.aspx?58). Help, please help!

fastfood
Thx



Reply With Quote
  #3  
Old   
fasfood
 
Posts: n/a

Default Re: SSIS stored procedure output parameter in Execute SQL Task - 01-17-2006 , 08:12 PM



Hi Allan Mitchell,

Thanks for your help. But I have followed this
http://www.sqlis.com/default.aspx?81 and use ADO to connect Oracle. I still
get this error. Please help!!!! It seems SSIS only support SQL Server stored
procedure because i can use output parameter with SQL server 2005.

thx
fastfood

"Allan Mitchell" wrote:

Quote:
Hello fasfood,

How have you defined the Parameter mappings. This is, unless I am much mistaken,
Oracle. In the article I am going against an OLEDB Connection. Perhaps
you are using the Managed Oracle Connection Manager. Did you follow the
link through to

http://www.sqlis.com/default.aspx?81

Allan

I'm trying to get output parameter of this stored procedure from
Oracle:

CREATE OR REPLACE PROCEDURE TEST(L OUT VARCHAR2) IS
BEGIN
L:='111';
select 'HELLO' into L from dual;
END TEST;
But it gets "Parameter object is improperly defined" error, i am
following the guide from this web page
http://www.sqlis.com/default.aspx?58). Help, please help!

fastfood
Thx




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.