Mensaje
De
27/12/2016 08:55:53
 
 
a
27/12/2016 05:25:31
General information
Foro:
Microsoft SQL Server
Category:
Sintáxis SQL
Título:
Environment versions
SQL Server:
SQL Server 2008 R2
OS:
Windows 7
Miscellaneous
ID de la conversación:
01646004
ID del mensaje:
01646110
Views:
47
>>>Hello Naomi
>>>
>>>can I use same query in Oracle ?
>>>
>>>Thank You.
>>>
>>>Best Regards,
>>>Mazahir Naya
>>
>>I don't think so. I don't think FOR XML PATH('') is going to work in Oracle. Most likely Oracle has its own group_concat function.
>
>Indeed, it does. LISTAGG.

I'd be careful with any of those features (FOR XML PATH, LISTAGG, etc.) over large sets of rows. FOR XML PATH is a great feature, but it doesn't perform well on large tables. So always good to test.

But for tables in the range of a few thousand rows, it works great.
Previous
Next
Responder
Mapa
Ver