Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Syntax error on updating Oracle database

Status
Not open for further replies.

EdRev

Programmer
Aug 29, 2000
510
0
0
US
We have a Unix script that updates the password of our Oracle DB Users. Somehow we are getting Ora_00922: missing or invalid option when we supply a password with * (asterisk) at the end.
Since password is supplied by user, we can not control it. It is the same passowrd as ther domain password.

Any help will be greatly appreciated.
 
I presume you use an SQL command like this:
alter user xxx identified by test*

It should work if you include the password in "":
alter user xxx identified by "test*"

But don't ask me what will happen if a user chooses a password with a " in it ...

regards
 
Can you post the part of the script which updates the password? Maybe we can help you resolve it then.

Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top