Oracle CLOB can't insert beyond 4000 character?

前端 未结 3 1949
北海茫月
北海茫月 2020-12-30 07:02

How to insert more than 4000 characters to CLOB type column?

--create test table s
create table s
(
      a clob
);
insert into s values(\'>4000 char\')
<         


        
3条回答
  •  生来不讨喜
    2020-12-30 07:56

    Use a clob column and use sqlldr to import the data from a csv.

    sqldeveloper can generate the necessary control .ctl script for you.

提交回复
热议问题