【发布时间】:2013-03-07 07:07:11
【问题描述】:
我想要一个 oracle 中的表,其中包含 5 列,每列长度为 5000。
我正在使用 varchar(5000) 但它不允许。
Error starting at line 8 in command:
ALTER TABLE WORK_STATIC_DATA_AUDIT
MODIFY ("NEW_VALUE" VARCHAR2(5000))
Error report:
SQL Error: ORA-00910: specified length too long for its datatype
00910. 00000 - "specified length too long for its datatype"
*Cause: for datatypes CHAR and RAW, the length specified was > 2000;
otherwise, the length specified was > 4000.
*Action: use a shorter length or switch to a datatype permitting a
longer length such as a VARCHAR2, LONG CHAR, or LONG RAW
我尝试了 CLOB、LONG,但它是说我们每张桌子只能有一个 CLOB 或 Long 的 cloumn。
请帮帮我..
【问题讨论】:
标签: sql oracle database-administration