What is the maximum length of a table name in Oracle?

前端 未结 12 1520
不知归路
不知归路 2020-12-07 09:04

What are the maximum length of a table name and column name in Oracle?

12条回答
  •  自闭症患者
    2020-12-07 09:34

    I'm working on Oracle 12c 12.1. However, doesn't seem like it allows more than 30 characters for column/table names.

    Read through an oracle page which mentions 30 bytes. https://docs.oracle.com/database/121/SQLRF/sql_elements008.htm#SQLRF00223

    In 12c although the all_tab_columns do say VARCHAR2(128) for Table_Name, it does not allow more than 30 bytes name.

    Found another article about 12c R2, which seems to be allowing this up to 128 characters. https://community.oracle.com/ideas/3338

提交回复
热议问题