long列是不允许出现在 create table xx as select * from yyy
里的
In addition, LONG columns cannot appear in these parts of SQL statements:
....
SELECT lists of
.....
oracle建议使用clob\blob\nclob来代替。
如:
--可以这样创建,不过默认类型就成了clob
create table t1 as select a,to_lob(b) from t;
--也可以这样,先创建一个表,然后在插入数据时使用to_lob函数转换一下