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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Max user password length in Oracle 12c Release 2

Sk1110-OracleDec 2 2018 — edited Dec 4 2018

I have installed Oracle 12c Release 2 on my windows 7 machine and created a new PDB. Now I am trying to create the following user with a password of length more than 30 characters I am getting "ORA-00972: identifier is too long error". Why I am getting this error? What is the default max length of a password in Oracle 12c Release 2?

FYI - I haven't configured any password complexity rules and I have also ensured my PDB compatibility level as "12.2.0"

CREATE USER xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
IDENTIFIED
BY xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

/*The password length here is >30 characters*/
DEFAULT TABLESPACE USERS TEMPORARY TABLESPACE TEMP QUOTA UNLIMITED ON USERS;

This post has been answered by Gaz in Oz on Dec 2 2018
Jump to Answer
Comments
Post Details
Added on Dec 2 2018
18 comments
7,657 views