spicysudhi
Programmer
Hi
i am not sure whether this thread should goto vb or in oracle....
this is something strange i found in 9i. we are calling stored procedures from VB application. When the DB was in 8i, if a procedure state is invalid, the call from VB used to recompile the procedure and execute it. but after upgrade to 9i, if the procedure state is invalid, it just throws the error in vb application.
if i call procedure directly from sqlplus it works.
procedure invalid state does not mean there is error in procedure, it could be invalid because the underlying table structure change or something.
can someone guide why is this difference in 9i, or is there a parameter that sets the automatic compilation.
thanks in advance,
regard,s
sudhi
i am not sure whether this thread should goto vb or in oracle....
this is something strange i found in 9i. we are calling stored procedures from VB application. When the DB was in 8i, if a procedure state is invalid, the call from VB used to recompile the procedure and execute it. but after upgrade to 9i, if the procedure state is invalid, it just throws the error in vb application.
if i call procedure directly from sqlplus it works.
procedure invalid state does not mean there is error in procedure, it could be invalid because the underlying table structure change or something.
can someone guide why is this difference in 9i, or is there a parameter that sets the automatic compilation.
thanks in advance,
regard,s
sudhi