Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> SQLPlus Bug (ORA-00904: invalid column name)?
I am using SQLPlus version Release 8.1.6.0.0.
When I run a script (example: sqlplus @some_script.sql) I get the following error message:
SELECT X.COL1, Y.C2
*
When I open the script and look at line 49 I see Y.COL2 and not what SQLPlus says it parsed (that is Y.C2).
I closed the script and ran it again and did not get the ora-00904 message!!
The only difference between the first and second time I ran the script was: during the first script run, a long running (5+ hour) procedure errored out after 5 hours and then the select statement was run which failed with a ora-00904. During the second run I commented out the procedure so that I didn't need to wait for 5 hours for the select to run.
Thanks. Received on Wed Nov 26 2003 - 10:11:04 CST