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.
次の「Foo」の型は?
select XMLElement("Foo", 'Bar') from dual
?
「タイプ」はありません (つまり、数値、日付、または文字列ではありません)。これは XML ノードの単なるラベルです。
二重引用符は、Oracle がラベルを大文字に変換するのを防ぎます。つまり、次のようになります。
select XMLElement(Foo, 'Bar') from dual; <FOO>Bar</FOO> select XMLElement("Foo", 'Bar') from dual; <Foo>Bar</Foo>