Hello,
I am trying to order my xmlagg function in oracle and the documented
query doesn't work.
SELECT XMLELEMENT("Department",
XMLAGG( XMLELEMENT("Employee", e.job_id||' '||e.last_name)
ORDER BY last_name))
as "Dept_list"
FROM employees e
WHERE e.department_id = 30;
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.1.0 -
Production
With the OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
Any ideas would be a great help.
Thanks,
Jake
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Debian User
INET: [EMAIL PROTECTED]
Fat City Network Services -- 858-538-5051 http://www.fatcity.com
San Diego, California -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).