DBL9SSG
asked on
DBMS_HS_PASSTHROUGH.EXECUTE_IMMEDIATE
Hello,
I'm using the DBMS_HS_PASSTHROUGH.EXECUT E_IMMEDIAT E command in PL/SQL in oracle to execute a store proc on a SQL Server 2005 database.
When the store proc on the SQL Server side excutes, It fails for some reason. We're able to do a RETURN @@ERROR on the sql server side and see a value of 5000.
However, On the Oracle side, the return value shows 0.
Any suggestions on how to capture the return value from sql server onto Oracle?
Thank you.
JG
I'm using the DBMS_HS_PASSTHROUGH.EXECUT
When the store proc on the SQL Server side excutes, It fails for some reason. We're able to do a RETURN @@ERROR on the sql server side and see a value of 5000.
However, On the Oracle side, the return value shows 0.
Any suggestions on how to capture the return value from sql server onto Oracle?
Thank you.
JG
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER