Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

UPPER function ..........ORA-00921: unexpected end of SQL command

user640001Dec 14 2010 — edited Dec 14 2010
Hi

getting below error.

SQL> @c:\test_user.sql;

Enter value for username: mapple
old 1: DROP USER UPPER(&&USERNAME) CAS
new 1: DROP USER UPPER(mapple) CASCADE
DROP USER UPPER(mapple) CASCADE
*
ERROR at line 1:
ORA-00921: unexpected end of SQL command


want to convert the user input into uppercase.

cant we use UPPER() function over here ?

how it can be done ?

With Regards
This post has been answered by unknown-698157 on Dec 14 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 11 2011
Added on Dec 14 2010
1 comment
25,753 views