Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法告诉 Oracle 从查询中以 JSON 字符串的形式返回行?
例如,
select 11,'abc' from dual;
会回来
[11,"abc"]
没有简单的功能,没有。Sourceforge有PL/JSON。此外,这篇ORA-0001博客文章演示了一种使用 XML 的方法(页面下方)。