Calling Stored Procedure using ODBC stage

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
sashah
Participant
Posts: 37
Joined: Thu May 10, 2007 3:02 pm

Calling Stored Procedure using ODBC stage

Post by sashah »

Is it possible to call a SQL Server stored procedure in a ODBC stage that is a reference link to a transformer
vreddy1
Participant
Posts: 1
Joined: Mon May 25, 2009 8:06 am
Location: bangalore

Re: Calling Stored Procedure using ODBC stage

Post by vreddy1 »

I think you can, I am using in Px, I am not sure about the Server




Ramana
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Actually, the other way around - in PX you cannot define a reference stage to a transformer, while in server you can.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

I know a stored function can be used there, not so sure about the stored procedure, though. As long as you can 'select' from the sproc in a standard sql format, then I would suppose it would work. :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
Sreenivasulu
Premium Member
Premium Member
Posts: 892
Joined: Thu Oct 16, 2003 5:18 am

Post by Sreenivasulu »

Hi

rowgenerator ----- dummy row-> storedprocedure stage

would work.

Regards
Sreeni
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

:!: Attention to details, please.

First, this is a Server job question so a PX solution doesn't really help. Secondly, the question was regarding a reference link to a transformer, which means using the stored procedure in a lookup, not as a target.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply