Oracle Database 12c Release 2 - Long Identifiers

Prior to Oracle Database 12c Release 2 have a problem with long identifier name, for example, in 11.2 version you cannot create long name (max 30 Bytes) tables.  As you see, from screenshots length of table name column is maximum 30.

Creating table with long name

Table Name Column size 30

In Oracle Database 12c Release 2 changed the length of identifier names, and this change depends on the COMPATIBLE initialization parameter. Documentation says:

If COMPATIBLE is set to a value of 12.2 or higher, then names must be from 1 to 128 bytes long with these exceptions: Names of databases are limited to 8 bytes. Names of disk groups, pluggable databases (PDBs), rollback segments, tablespaces, and tablespace sets are limited to 30 bytes. If an identifier includes multiple parts separated by periods, then each attribute can be up to 128 bytes long. Each period separator, as well as any surrounding double quotation marks, counts as one byte. For example, suppose you identify a column like this: "schema"."table"."column" . The schema name can be 128 bytes, the table name can be 128 bytes, and the column name can be 128 bytes. Each of the quotation marks and periods is a single-byte character, so the total length of the identifier in this example can be up to 392 bytes. read more

I  created long name table, as below

Create Table with long name

Shows in user tables view

Maximum length of table is 128 bytes
If you set COMPATIBLE initialization parameter to lower value 12.2, then you will get the error about ORA-00972: identifier is long

Best Regards
Mahir M. Quluzade


  1. thanks for your details it's very useful and amazing.your article is very nice and excellentweb design company in velachery

  2. awesome blog it's very nice and useful i got many more information it's really nice i like your blog styleweb design company in velachery

  3. I wanted to thank for sharing this article and I have bookmarked this page to check out new stuff.
    Tally course in Chennai
    Tally classes in Chennai
    Tally Training in Chennai


  4. You write this post very carefully I think, which is easily understandable to me. Not only this, but another post is also good. As a newbie, this info is really helpful for me. Thanks to you.
    Tally Training in Chennai
    Tally ERP 9 Training
    tally classes
    Tally Training institute in Chennai
    Tally course in Chennai

  5. Thanks for the interesting blog that you have implemented here. Very helpful and innovative. Waiting for your next upcoming article.
    Java training in chennai
    Java training institute in chennai
    Java course in chennai
    Java training classes
    Java training
    Java programming classes
    core java coure

  6. Python Training in Chennaii

    Excellent blog with lots of information. I have to thank for this. Do share more.


    learn Best Software Testing Training in coimbatore by Qtree. We provide Software Certification Training Institute in Coimbatore. Join our Software Testing courses in Coimbatore.Enroll Today.

    Software Testing Course in Coimbatore
    Selenium Training in Coimbatore
    Java training in coimbatore
    CCNA Course in Coimbatore
    CCNA Training Institute in Coimbatore


Post a Comment

Popular posts from this blog

Which device is mapped Oracle ASM disk?

OTN Article: Oracle Database 12c In-Memory (Part I, II - Spanish / Portuguese)

Oracle Database 18c - Install On-Premises for Linux