Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Distinct XML Retured in Stored Proc

Distinct XML Retured in Stored Proc

From: Paul <pmason09_at_yahoo.com>
Date: 14 Jul 2003 12:01:54 -0700
Message-ID: <f5d9a16a.0307140809.3f929d2b@posting.google.com>


I have an PL/SQL stored proc that is currently working fine. I need to modify it so I can use the DISTINCT key word. The SP returns the results in XML. Here it is. Any help would be appreciated.

SELECT xmlagg(XMLELEMENT("JobNumber", ISR.ISR_NO)) AS "XMLReturned"

    	INTO xmlTypeRet
	FROM isr 

PM Received on Mon Jul 14 2003 - 14:01:54 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US