希望有人帮助我如何在CLOB中插入或更新超过4000个字节。 我使用PL / SQL并且只获得 01704。 00000 - "字符串文字太长"
CREATE TABLE don (x clob);
DECLARE
l_clob clob;
BEGIN
FOR i IN 1..10
LOOP
INSERT INTO don (x) VALUES (empty_clob()) --Insert an "empty clob" (not insert null)
RETURNING x INTO l_clob;
FOR i IN 1..100
LOOP
dbms_lob.append(l_clob, rpad ('*',4000,'*'));
END LOOP;
END LOOP;
END;
/
Insert into don (x) values ( to_clob( 'String value more than 4000' ) || to_clob( 'value of remaining 1500 characters' ));
insert into don (x) values('String value more than 4000');
任何人都可以找出我弄错了什么..?