Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pro*C versus Dynanic SQL

Status
Not open for further replies.

sofiagomes

IS-IT--Management
Nov 13, 2001
4
PT
Hello all!

Does anyone know about problems with Pro*C programs using stored procedures wich use dynamic sql (using dbms_sql package) ?

I have a program that simply came with ORA-01405 (fetched column is null) when i changed stored procedured to use dbms_sql package...
I tried to recompile but the execution doesn't go well...

Any help?

Thanks
 
I think this is unlikely to be due to dbms_sql. It is more likely that your procedure is not functioning properly and is returning null into the output/return variables in your Pro*C program. Unless you have an indicator variable present, you will then get an ORA-1405.

Try putting indicator variables against any parameters that are passed to and from the stored procedure.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top