How to specify an element of "long"?

Hello

I wrote this beautiful calculation SQL before heading to a 'hidden ': item type
SELECT xmlagg( xmlelement("series", xmlattributes(b.nom AS "name"), xmlagg( xmlelement("point", xmlattributes( TO_CHAR(a.date1) AS "name", TO_CHAR(a.valeur, 'fm00.0') AS "y" ) ) ) ) ).getClobVal()
FROM sivoa.evv_stpl a,
  site_pluviometre b
WHERE date1 BETWEEN to_date('01/01/2010', 'DD/MM/YYYY') AND TO_DATE('02/01/2010', 'DD/MM/YYYY')
AND a.clef_var = b.clef_var
GROUP BY a.clef_var,
  b.nom
ORDER BY a.date1
Unfortunately, although the SQLdevlopper show results with this simple query, the element does not contain the result of the query

Debugging shows this:
0.12:... Session state: Save "P40_X" - registration of same value:

Which means that the element is not met. I see that it is because there are too many returned values IE too much data for the element. is there a way to specify an element of "long"?

Kind regards

Christian

Published by: Christians in France on April 13, 2010 03:29

Published by: Christians in France on April 13, 2010 06:21

Published by: Christians in France on April 13, 2010 07:54

Christian,

I don't think so. I'm not sure but I think that an element must be limited to 4,000 characters. But there is a CLOB CLOB001 column in a collection that you could use instead of an element. There should be no difference.

Denes Kubicek
-------------------------------------------------------------------
http://deneskubicek.blogspot.com/
http://www.Opal-consulting.de/training
http://Apex.Oracle.com/pls/OTN/f?p=31517:1
http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
-------------------------------------------------------------------

Tags: Database

Similar Questions

Maybe you are looking for