We are using Oracle 8. Can you use them in Oracle 8 like this?
I keep getting error -
MGR-00072: Warning: PROCEDURE PR_SONALI created with compilation errors.
SQLWKS>
SQLWKS> show errors
Errors for PROCEDURE PR_SONALI:
LINE/COL ERROR
--------------------------------------------------------------------------------
112/22 PLS-00103: Encountered the symbol "insert into Auth (AUTH_ID, Auth_
What is wrong with my code. I am reading Experts one on one by Tom Kyte and was trying this.
Also, if my stored procedure is already compiled then how does a bind variable use inside procedure going to make a difference as fr as parcing goes?
Thanks for the help
Sonali
12-20-2001, 12:40 PM
marist89
EXECUTE IMMEDIATE is an 8i thingy.
12-20-2001, 12:48 PM
sonaliak
Does that mean I cannot use bind variables ?
If I can what would my insert statement look like ?
Thanks
Sonali
12-20-2001, 12:58 PM
Heath
It means that you can't use the EXECUTE IMMEDIATE command to use bind variables in dynamic SQL.
You can still use them for dynamic SQL using the DBMS_SQL package in Oracle8.