Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles
New Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

 
 

ORA-02153: invalid VALUES tips

Oracle Database Tips by Donald BurlesonJanuary 14, 2016

Question: In Oracle 12c, I was unable to create a user using the "identified by values" clause:

SQL> CREATE USER "TCNIEHLW2" IDENTIFIED BY VALUES 'MCJAK86199nmkaa!!!!';
CREATE USER "TCNIEHLW2" IDENTIFIED BY VALUES 'MCJAK86199nmkaa!!!!'
*
ERROR at line 1:
ORA-02153: invalid VALUES password string

This works in Oracle 11g.  How do I fix the ORA-02153: invalid VALUES error?  Even more, why has Oracle changed this functionality?

Answer:   You are correct, in Oracle 12c, this syntax is no longer supported. 

The orrr utility gives this for the ORA-02153 error:

ORA-02153: invalid VALUES password.

Cause: An encoded password string does not follow the VALUES clause.

Action: Place a proper encoded password string after the VALUES clause.

dbaforums.org show this about this new 12c functionality:

On 11.2.0.4 there was possible to create user without an hash value, if you run:

+++++++

CREATE USER "TCNIEHLW2" IDENTIFIED BY VALUES 'MCJAK86199nmkaa!!!!';


you have:

SQL> select password,spare4 from user$ where name='TCNIEHLW2';

PASSWORD
------------------------------
SPARE4
-----------------------------------------------------------------
MCJAK86199nmkaa!!!!



++++++The user should have been created with:

SQL> CREATE USER TCNIEHLW3 IDENTIFIED BY PASS;

User created.

SQL> select password,spare4 from user$ where name='TCNIEHLW3';

PASSWORD
------------------------------
SPARE4
---------------------------------------------------------------
1D9A699B5B9D0A7D
S:473C0BA0C5902A87650154BE5FBFEA51AA2A92746F821C7DA10CC90B13A6


Prior to 12c the user could have been created with IDENTIFIED BY VALUES 'MCJAK86199nmkaa!!!!' with 12c this is no longer possible. This is an new feature in 12c introduced so the users to be created in the right way.

Also see: ORA-02153 on Data Pump import

   
Oracle Training from Don Burleson 

The best on site "Oracle training classes" are just a phone call away! You can get personalized Oracle training by Donald Burleson, right at your shop!

Oracle training
 
 


 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2020

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.

 

 

��  
 
 
Oracle Training at Sea
 
 
 
 
oracle dba poster
 

 
Follow us on Twitter 
 
Oracle performance tuning software 
 
Oracle Linux poster