简体   繁体   中英

Oracle SQL Database creating a clob with size greater than 4000

I'm trying to alter table and add a new column as a clob, but I'm only allowed to set the size to 4,000. The syntax I'm using is:

ALTER TABLE table_name
add column_name CLOB(100000)

The error I'm getting is:

ORA-01735: invalid ALTER TABLE option

If I put:

ALTER TABLE table_name
add column_name CLOB

This allows me to create a column of default size 4,000.

它告诉您invalid ALTER TABLE option因为它是一个无效选项 - 您无法指定clob的大小。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM