小编Gox*_*oxy的帖子

在 Oracle 19c 中将大 json 返回到 clob 时出现 ORA-40478

在 Oracle 19c 中,我创建了表:

create table SAMPLE_TABLE (
id NUMBER not null,
display_name  NVARCHAR2(4000), )
Run Code Online (Sandbox Code Playgroud)

当我运行脚本时:

declare    
   i integer;   
   p_tmp_clob clob;
 begin   
   select JSON_ARRAYAGG(JSON_OBJECT(t.* )) into p_tmp_clob from SAMPLE_TABLE t;
end; 
Run Code Online (Sandbox Code Playgroud)

我收到以下 ORA-40478 异常。ORA-40478: 输出值太大(最大值:4000)

oracle json clob

7
推荐指数
1
解决办法
4332
查看次数

标签 统计

clob ×1

json ×1

oracle ×1