根據Oracle's web site上的Oracle 12文檔(1.1.6.4),您應該能夠創建超過4000個字符的varchar2列。有沒有人manged這樣做,因爲我得到的是: -Oracle 12.1數據類型
Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options
SQL> create table r1 (c1 integer, c2 varchar2(32000));
create table r1 (c1 integer, c2 varchar2(32000))
*
ERROR at line 1:
ORA-00910: specified length too long for its datatype
您需要更改服務器參數'max_string_size':http://docs.oracle.com/cd/E16655_01/server.121/e17209/sql_elements001.htm#SQLRF55623和http://docs.oracle.com/ cd/E16655_01/server.121/e17615/refrn10321.htm#REFRN10321 –