![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
Please try: XMLGROUP( ..... ROOT "DATA") |
#4
| |||
| |||
|
#5
| |||
| |||
|
|
What data type in the XMLSERIALIZE did you specified? Was that still too long? For example: CLOB. (Default for CLOB is CLOB(1M). ) How about something like VARCHAR(1000)? |
#6
| |||
| |||
|
|
On 28 maio, 17:02, Tonkuma <tonk... (AT) fiberbit (DOT) net> wrote: What data type in the XMLSERIALIZE did you specified? Was that still too long? For example: CLOB. (Default for CLOB is CLOB(1M). ) How about something like VARCHAR(1000)? I specified CLOB .. My statement .. select XMLSERIALIZE( * *XMLGROUP( * * * T.MACHINE_ID, * * * D.DEPARTMENT_NAME, * * * T.MACHINE_HOSTNAME * *OPTION ROOT "desktop") AS CLOB (50M)) FROM ASSET.TBL_ASSET_MACHINE_ID T INNER JOIN ASSET.TBL_ASSET_DEPARTMENT D ON (T.DEPARTMENT_ID = D.DEPARTMENT_ID) ; Result on CLP .. ..... NAME>BSARO1-006</MACHINE_HOSTNAME></ row><row><MACHINE_ID>0001023C44E759AF89131534</ MACHINE_ID><DEPARTMENT_NAME>RIO</ DEPARTMENT_NAME><MACHINE_HOSTNAME>RBOMR1-005</MACHINE_HOSTNAME></row DB29320W *Output has been truncated. Thanks. |
![]() |
| Thread Tools | |
| Display Modes | |
| |