xmlタグを生成するクエリを作成するときに、sqlクエリにhtmlタグを保持したいと思います。例えば:
select '<p> this is a code</p>' as code
from table name
for xml path (''), type
出力:
<code><p> this is a code </p> <code>
出力する内容:
<code><p> this is a code </p><code>
どうすればこれを解決できますか?ありがとう!