
sql - Optimal way to concatenate/aggregate strings - Stack Overflow
SOLUTION The definition of optimal can vary, but here's how to concatenate strings from different rows using regular Transact SQL, which should work fine in Azure.
Entity framework EF.Functions.Like vs string.Contains
Aug 14, 2017 · EF.Functions.Like however gets translated into string LIKE pattern [ESCAPE escapeChar]. This may also have implications on Performance. The above is valid for EF Core …
How to use GROUP BY to concatenate strings in SQL Server?
SQL Server 2005 and later allow you to create your own custom aggregate functions, including for things like concatenation- see the sample at the bottom of the linked article.
How to convert all UPPER CASE text to Proper Case/Title Case in SQL ...
In SQL Server 2017 and above, you can achieve proper case by combining STRING_SPLIT, a CTE with ROW_NUMBER to maintain word order, and STRING_AGG to reassemble the string.
sql - How do I split a delimited string so I can access individual ...
Nov 2, 2015 · Using SQL Server, how do I split a string so I can access item x? Take a string "Hello John Smith". How can I split the string by space and access the item at index 1 which should return …
How do I search an SQL Server database for a string?
Dec 8, 2019 · I need to search an SQL Server database for all mentions of a specific string. For example, I would like to search all tables, views, functions, stored procedures, ... for string …
Azure SQL trigger for Functions configuration problem
Jan 24, 2025 · 0 I want to read SQL connection string for Azure Function from Azure App Configuration. I do load setting with: builder.Configuration.AddAzureAppConfiguration(...); And sqldata is in …
SQL MAX function in non-numeric columns - Stack Overflow
Sep 1, 2013 · As far as I understand the MAX function, it shall return a maximum value from a given column. In case of numeric values, for example a salary column, it is clear for me - and this is the …
sql - LEFT function in Oracle - Stack Overflow
Jul 3, 2012 · LEFT and RIGHT are SQL Server functions that do what LPAD / RPAD do. You may have a user-defined function in your DB, that would explain the slowdown.
aggregate functions - Can we use SQL Server STRING_AGG () in queries ...
Mar 29, 2023 · Aggregate functions that are used with CUBE, ROLLUP, or GROUPING SET queries must provide for the merging of subaggregates. To fix this problem, remove the aggregate function …