By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,583 Members | 3,481 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,583 IT Pros & Developers. It's quick & easy.

Is It Possible To Have An XML Output by a Query

P: 1
Hi to All,

I have a table articles.
If I made the simple query:
Expand|Select|Wrap|Line Numbers
  1. SELECT name, quantity
  2. From articles;
I obtain the name and the relative quantity of each row in the table articles.

But, now the question is:
Is it possible to make a query in order to obtain the XML output of the same query?
If yes, what i s the sintax?

Tanks in advance.
Gerolamo
Feb 13 '19 #1
Share this Question
Share on Google+
1 Reply


Expert 100+
P: 1,035
Expand|Select|Wrap|Line Numbers
  1. SELECT query_to_xml('select ...',false,false,'');
Sorry for the short answer, but did you RTFM
Apr 22 '19 #2

Post your reply

Sign in to post your reply or Sign up for a free account.