Hi! Yep, I've seen it a lot during trainings, that students are trying to use arrow characters in sqlplus on unix terminal. And that leaves non-printable chars into sql command. Copy&paste clears them out.
Tanel. ----- Original Message ----- To: "Multiple recipients of list ORACLE-L" <[EMAIL PROTECTED]> Sent: Friday, August 01, 2003 12:24 AM > AK > The only thing that comes to mind is maybe a non-printing character gets > in there and the process of cutting and pasting somehow cleans that > character out. My approach would be to put your SQL in a .SQL file and run > it as a script. See if it happens then. If it does, you can inspect the file > more closely, if it doesn't, you'll have an important clue. > > > > Dennis Williams > DBA, 80%OCP, 100% DBA > Lifetouch, Inc. > [EMAIL PROTECTED] > > -----Original Message----- > Sent: Thursday, July 31, 2003 4:14 PM > To: Multiple recipients of list ORACLE-L > > > This is happening 3rd time with me so I have to figure out what's wrong . > When I issue the given sql first time i get an error as shown . After that > I copy and paste it again and it works second time . Any clue what should be > the reason ? btw, it happens with any sql ..not just this one . Its on hp-ux > 9000 server with 8.1.7.4 oracle. This doesn't if sql is issued from > someother box . > > > SQL> > SQL> > SQL> select * from v$instance; > select * from v$instance > * > ERROR at line 1: > ORA-00923: FROM keyword not found where expected > > > SQL> select * from v$instance; > > INSTANCE_NUMBER INSTANCE_NAME > --------------- ---------------- > HOST_NAME > > > -- > Please see the official ORACLE-L FAQ: http://www.orafaq.net > -- > Author: DENNIS WILLIAMS > INET: [EMAIL PROTECTED] > > Fat City Network Services -- 858-538-5051 http://www.fatcity.com > San Diego, California -- Mailing list and web hosting services > --------------------------------------------------------------------- > To REMOVE yourself from this mailing list, send an E-Mail message > to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in > the message BODY, include a line containing: UNSUB ORACLE-L > (or the name of mailing list you want to be removed from). You may > also send the HELP command for other information (like subscribing). > -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Tanel Poder INET: [EMAIL PROTECTED] Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).