473,287 Members | 1,447 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,287 software developers and data experts.

Is It Possible To Have An XML Output by a Query

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
1 1940
Luuk
1,047 Expert 1GB
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

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

Similar topics

2
by: sumi | last post by:
I am very new to python , I have small query could some one help me. every time I get a new load i need to do few things like creating some dir, changing some file contents and moving some files ,...
3
by: Pea | last post by:
Is it possible to get the average in a query where I have multiple criteria? Here's an abbreviated example of the query in design view: Fields: USERID DATE TIME ID_TYPE...
2
by: jim Bob | last post by:
Hi, I have a query with the criteria of (!..) Or !.. When I provide the value from qmylist, a second pop up appears waiting for the value from lstResults. If I enter nothing and click ok, it...
0
by: intriken | last post by:
Hello, I was wondering if there is a way using the clp to output a query to a format other than text. Currently I am using db2 select * from table >> text.txt the problem I am having...
1
by: mirangk | last post by:
guys i have a query regarding vb i want to convert hexadecimal into ieee(floating point value) and finally display the decimal value using vb so can anyone help me in that pls. i am stuck i am not...
3
by: Terry161 | last post by:
I need to prepare weekly reports on how our sales people are doing, and currently have one query for each salesperson (~10). I have a button on a form that exports all of these queries to Excel,...
5
by: wugon.net | last post by:
question: db2 LUW V8 UNION ALL with table function month() have bad query performance Env: db2 LUW V8 + FP14 Problem : We have history data from 2005/01/01 ~ 2007/05/xx in single big...
6
by: Mike1961 | last post by:
Hello everyone. I have this query and this output: SELECT * , COUNT(STATE) AS strSTATE, COUNT(TYPESTATE) AS strTYPESTATE FROM tbl_MYSQL WHERE STATE = 'ABSENT'
3
by: Bre-x | last post by:
I would like to output a odbc query to a text file. I have the following php code but it isnt working. <? //conneccion $conn=odbc_connect('DBA','',''); if (!$conn) {exit("Connection...
2
by: suzanne099 | last post by:
Good Morning, I have a report populated by a query with a date range parameter (begin/end date). Is there a way to output the selected date range into the report title (i.e., include the...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.