Bonjour,
Je ne sais pas si ma question concerne oracle ou sqlplus (j'ai fait un post similaire pour sqlplus).
J'exécute sous sqlplus un script sql qui produit en sortie un fichier XML. J'utilise pour cela la fonctionnalité XML d'oracle. Voici mon script sql simplifié:La directive gml:coordinates fait appel à une procédure stockée (en vert), celle ci renvoie une chaine de caractères (au maximum de 4000 car.). La ligne XML correspondante (dans le fichier SPOOL) est tronquée à 2000 car !!!
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27 set pagesize 0 set line 2000 set head off set echo off set feedback off set verify off set termout off SET HEAD OFF SET LONG 2000 SPOOL &1 SELECT XMLELEMENT("gml:featureMember", XMLELEMENT("SECTOR", XMLELEMENT("GDO_GEOMETRY", XMLELEMENT("gml:Polygon", XMLELEMENT("gml:outerBoundaryIs", XMLELEMENT("gml:LinearRing", XMLELEMENT("gml:coordinates",ops$ope.gmlpos.GetCoordStringFromVol(se_vol.AIRSPACE_ENV_NAME,se_vol.VOLUME_NAME) ) ) ) ) ) )) FROM r_se_vol se_vol, CTL_AREA se, VOLUME vo; SPOOL OFF exit;
Même si je fais, la troncature est toujours à 2000. D"ou vient cette limitation ? Est t'elle connue ? Comment faire ?
Code : Sélectionner tout - Visualiser dans une fenêtre à part SET line 3000
Merci de votre aide
Partager