摘要:
多行数据合并后,数据长度不超过4000,用以下sql: select listagg(a.book_id,',') within group (order by a.book id) from tmp_123 a; 如果长度超过4000,会报 ora-01489:字符串连接的结果过长。用以下sql解 阅读全文
摘要:
闪回查询 SQL> select * from emp as of timestamp (systimestamp - interval '2' minute); 查询emp表2分钟之前的数据 SQL> select * from emp as of timestamp (systimestamp 阅读全文