dbTalk Databases Forums  

retrievin the value from a Oracle variable, but how

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


Discuss retrievin the value from a Oracle variable, but how in the microsoft.public.sqlserver.dts forum.



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

Default retrievin the value from a Oracle variable, but how - 04-03-2006 , 07:08 AM






Dear all,

I've got a DTS which launch a pl function and return a 'number' value into a
local variable (defined of course inside Sql Task) and I would need in the
case that have 1 (error) as value send an e-mail but I don't know how can I
do this.
Using a global variables doesn't work at all
Does anyone have ever used or experienced something like that?


DECLARE
RetVal NUMBER;

begin
RetVal := ACTUALIZAMARCAEMPLEADOS;
?:= RetVal; ********** WRONG, RETURN ME AN ERROR ************
end;




Thanks a lot,
--
Please post DDL, DCL and DML statements as well as any error message in
order to understand better your request. It''s hard to provide information
without seeing the code. location: Alicante (ES)


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 - 2010, Jelsoft Enterprises Ltd.