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 中更改表/列/索引名称大小
基础教程推荐
- 在多列上分布任意行 2021-01-01
- 如何在 SQL 中将 Float 转换为 Varchar 2021-01-01
- oracle区分大小写的原因? 2021-01-01
- 在 MySQL 中:如何将表名作为存储过程和/或函数参数传递? 2021-01-01
- 二进制文件到 SQL 数据库 Apache Camel 2021-01-01
- 表 './mysql/proc' 被标记为崩溃,应该修复 2022-01-01
- mysql选择动态行值作为列名,另一列作为值 2021-01-01
- 如何根据该 XML 中的值更新 SQL 中的 XML 2021-01-01
- 什么是 orradiag_<user>文件夹? 2022-01-01
- MySQL 中的类型:BigInt(20) 与 Int(20) 2021-01-01
