ORA-00972 identifier is too long
Cause: The name of a schema object exceeds 30 characters. Schema objects are tables, clusters, views, indexes, synonyms, tablespaces, and usernames.
Action: Shorten the name to 30 characters or less.
1.Names must be from 1 to 30 bytes long with these exceptions: ◦Names of databases are limited to 8 bytes. ◦Names of database links can be as long as 128 bytes. If an identifier includes multiple parts separated by periods, then each attribute can be up to 30 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 30 bytes, the table name can by 30 bytes, and the column name can be 30 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 98 bytes.
本文详细解析了ORA-00972错误的原因及解决办法,该错误通常发生在Oracle数据库中,当对象名称超过30字符限制时触发。文章还介绍了数据库对象名称的长度规范,包括特殊情况下名称长度的例外情况。
747

被折叠的 条评论
为什么被折叠?



