Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MS-SQL Query Help
Message
From
27/12/2016 08:55:53
 
 
To
27/12/2016 05:25:31
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2008 R2
OS:
Windows 7
Miscellaneous
Thread ID:
01646004
Message ID:
01646110
Views:
45
>>>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
Reply
Map
View

Click here to load this message in the networking platform