ORA-00910: specified length too long for its datatype
ORA-00910: specified length too long for its datatype
//z 2012-08-01 13:37:33 IS2120@CSDN.T3072156621[T5,L58,R1,V32]
oracle column (field) size NVARCHAR2 大小限制
当 NLS_NCHAR_CHARACTERSET 为 AL16UTF16 的时候,最大能设置为2000
当 NLS_NCHAR_CHARACTERSET 为utf8 的时候,最大能设置为4000
这是因为NVARCHAR2数据类型,最大只能存储4000个字节。
//z 2012-08-01 13:37:33 IS2120@CSDN.T3072156621[T5,L58,R1,V32]
CHAR, NCHAR, VARCHAR2 and NVARCHAR2
Character data types store character data in the database character or national character set.
CHAR[(n [BYTE | CHAR] )]
Fixed-length character data of length n bytes or characters. The maximum length is 2000 bytes, the default value is 1.
BYTE indicates that the length semantics for the column is byte. CHAR indicates that the length semantics for the column is character. The default is BYTE. CHAR and BYTE qualifiers are not available prior to Oracle Version 9.
NCHAR[(n)]
Fixed-length character data of length n characters or bytes, depending on the national character set. The maximum length is determined by the number of bytes required to store each character, with an upper limit of 2000 bytes. The default value is 1.
VARCHAR2(n [BYTE | CHAR] )
Variable-length character data with length of n characters. The maximum length is 4000 bytes. You must specify the maximum length for VARCHAR2 columns.
BYTE indicates that the length semantics for the column is byte. CHAR indicates that the length semantics for the column is character. The default is BYTE. CHAR and BYTE qualifiers are not available prior to Oracle Version 9.
NVARCHAR2(n)
Variable-length character data having maximum length n characters or bytes, depending on the national character set. The maximum length is determined by the number of bytes required to store each character, with an upper limit of 4000 bytes. You must specify the maximum length for NVARCHAR2 columns.
转载于:https://www.cnblogs.com/IS2120/archive/2012/08/01/6745872.html
ORA-00910: specified length too long for its datatype相关推荐
- oracle ora 00910,NVARCHAR2字段超长问题:ORA-00910: specified length too long for its datatype
NVARCHAR2字段超长问题:ORA-00910: specified length too long for its datatype 前几天在IMP的时候遇到了个问题: IMP-00017: f ...
- ORACLE数据库报错ORA-00910: specified length too long for its datatype
ORACLE数据库报错ORA-00910: specified length too long for its datatype 原因分析 先直接说下对于ORA-00910报错的原因:在于Oracle ...
- oracle ora 00910,ORA-00910: 指定的长度对于数据类型而言过长
目标端创建表报错: SQL> create table KK_1 2 ( 3 id NUMBER(20) not null, 4 code NVARCHAR2(255), 5 name NVAR ...
- Oracle小知识总结
1. 每天的8:00到23:00每隔5分钟执行一个sql语句的JOB --建立一个存储过程 CREATE OR REPLACE PROCEDURE p_jobtest IS v_hh VARCHAR2 ...
- oracle 常用知识点整理
转 : oracle 常用知识点 原文链接:http://blog.csdn.net/weijiaxiaobao/article/details/51323573 Oracle 是一个庞大的系统,里 ...
- ORA_ERROR大全
常见错误: -60 ORA00060: deadlock detected while waiting for resource 一般错误: - 1 ORA00001: unique constr ...
- ORACLE ERROR大全
ORA_ERROR大全 1 ORA00001: unique constraint (.) violated -17 ORA00017: session requested to set trace ...
- 资料整理——Oracle数据库错误消息列表(Database Error Messages)
问题: Oracle数据库中大概有多少条error message? 解答: 根据对Oracle官网资料(https://docs.oracle.com/cd/E11882_01/server.112 ...
- LRU算法 -- 链表 完整实现
LRU算法(Least Recently Used) 算是我们经常遇到的一种淘汰算法,其中内存管理模块进行内存页回收时有用到,针对不经常使用的内存页,LRU淘汰策略能够将该内存页回收给操作系统. 属于 ...
最新文章
- WIN7添加loopback接口
- 用Android写代码,用css写个android机器人代码分享
- Perl学习笔记(十)--通过DBI访问数据库
- 1.逐帧动画shader
- mysql load data infile 导入数据 某一列 空_Sql数据挑战赛amp;网络销售案例分析
- 力扣59-螺旋矩阵(C++)
- linux 临时 目录权限,linux文件和目录权限的设置
- hdoj1000解题报告
- 链表:从尾到头打印链表
- html图书馆占座系统,图书馆选座系统,再也不用担心有人占座啦!
- 免费织梦CMS文章采集器之采集聚合
- mysql查看cpu使用高sql语句_MYSQL CPU 使用率高,怎么查,怎么破
- JavaScript中三元一次函数的解法
- c/c++静态变量和静态函数
- V4C3-MXene 二维V4C3Tx迈科烯(MXene),胶体溶剂分散液 ,风琴状多层材料 ,冻干粉末
- 华东师大计算机专业非全日制,华东师范大学非全日制研究生遇冷?
- inurl:php?title=,查看“岗梅”的源代码
- 【Javaweb】TCP原理(三次握手四次挥手)
- Glusterfs + heketi使用
- jsf中应用javascript