
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 …
Entity framework EF.Functions.Like vs string.Contains
Aug 14, 2017 · It says that they added new Sql functions like EF.Functions.Like for performing the SQL LIKE operation. I was wondering, what then would be the difference between …
aggregate functions - Can we use SQL Server STRING_AGG () in …
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 …
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 …
How to use GROUP BY to concatenate strings in MySQL?
SELECT id, GROUP_CONCAT(name SEPARATOR ' ') FROM table GROUP BY id; :- In MySQL, you can get the concatenated values of expression combinations . To eliminate duplicate …
How to use GROUP BY to concatenate strings in SQL Server?
This type of problem is solved easily on MySQL with its GROUP_CONCAT() aggregate function, but solving it on Microsoft SQL Server is more awkward. See the following SO question for …
Use string contains function in oracle SQL query
Dec 3, 2013 · select p.name from person p where p.name contains the character 'A'; I also want to know if I can use a function like chr(1234) where 1234 is an ASCII code instead of the 'A' …
Is there an equivalent to the SUBSTRING function in MS Access SQL?
Jun 9, 2015 · I want to do something like this within an MS Access query, but SUBSTRING is an undefined function. SELECT DISTINCT SUBSTRING(LastName, 1, 1) FROM Authors;
Postgresql SELECT if string contains - Stack Overflow
Beware that using variables in a LIKE pattern may have unintended consequences when those variables contain underscores (_) or percent characters (%). It may be necessary to escape …