Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MS-SQL Query Help
Message
De
27/12/2016 08:55:53
 
 
À
27/12/2016 05:25:31
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2008 R2
OS:
Windows 7
Divers
Thread ID:
01646004
Message ID:
01646110
Vues:
46
>>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform