【问题标题】:Oracle with XML to Postgres in JSON Converstion在 JSON 转换中使用 XML 到 Postgres 的 Oracle
【发布时间】:2017-12-29 23:32:12
【问题描述】:

我正在尝试将 Oracle 代码迁移到 Postgres,同时在 Oracle 中我们使用 XML,在 PostgreSQL 中我们使用 JSON。 因此,在迁移时,我遇到了一些基本问题,

就像在 oracle 中一样,

有一个函数newDOMDocument:

FUNCTION newDOMDocument RETURN domdocument;

现在在需要迁移的过程中,变量声明为:

doc               DOMDocument;
ndoc              DOMNode;
root_elmt         DOMElement;

在声明部分我们有:

doc  := newDOMDocument;
nDoc := makeNode(doc);
root_elmt := createElement(doc, 'stm');

请您帮忙在 PostgreSQL 中将其转换为 JSON。

【问题讨论】:

    标签: json xml oracle postgresql


    【解决方案1】:

    为什么不在 Oracle 中迁移到 JSON?

    【讨论】:

      猜你喜欢
      • 2012-08-01
      • 2010-11-16
      • 2023-01-18
      • 2018-04-24
      • 2017-11-24
      • 2014-01-17
      • 1970-01-01
      • 2021-09-30
      • 2012-08-16
      相关资源
      最近更新 更多