Change table/column/index names size in oracle 11g or 12c(在 oracle 11g 或 12c 中更改表/列/索引名称大小)
问题描述
我使用oracle 11g 并且需要大于30 个字符的名称,我知道11g 中的最大大小为30 个字符.
I use oracle 11g and need name that size is greater than 30 characters, I know the maximum size in 11g is 30 characters.
我可以更改这个最大尺寸吗?
Can I change the this maximum size?
Oracle 12c 中表/列/索引名称的最大大小是多少?
What is the maximum size of table/column/index names in Oracle 12c?
推荐答案
11g 以及 12cR1 限制为 30 个字节(在单字节字符集中,它相当于 30 个字符).
Database object names in 11g as well as in 12cR1 are limited to 30 bytes (in a single-byte character set it will be equivalent to 30 characters).
可以改吗?不,您不能进行任何更改以允许 Oracle 使用大于 30 个字节的对象名称.
Can it be changed? No, you cannot make any changes to allow Oracle to use object names that are greater than 30 bytes.
在 Oracle Database 12c (12cR2) 并且如果 COMPATIBLE 初始化参数的值设置为 12.2 或高于对象名称的长度最多可达 128 个字节.
The 30 bytes object names restriction has been lifted in second release of Oracle Database 12c ( 12cR2) and if the value of the COMPATIBLE initialization parameter is set to 12.2 or higher then object names' length can be up to 128 bytes.
这篇关于在 oracle 11g 或 12c 中更改表/列/索引名称大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:在 oracle 11g 或 12c 中更改表/列/索引名称大小


基础教程推荐
- 在 VB.NET 中更新 SQL Server DateTime 列 2021-01-01
- Sql Server 字符串到日期的转换 2021-01-01
- ERROR 2006 (HY000): MySQL 服务器已经消失 2021-01-01
- SQL Server 中单行 MERGE/upsert 的语法 2021-01-01
- 如何在 SQL Server 的嵌套过程中处理事务? 2021-01-01
- 将数据从 MS SQL 迁移到 PostgreSQL? 2022-01-01
- 无法在 ubuntu 中启动 mysql 服务器 2021-01-01
- SQL Server 2016更改对象所有者 2022-01-01
- SQL Server:只有 GROUP BY 中的最后一个条目 2021-01-01
- 使用pyodbc“不安全"的Python多处理和数据库访问? 2022-01-01