Finding Rows with Lowercase Letters in SQL Server
Hello everyone,
In this article, I will try to give information about finding rows containing lowercase letters in SQL Server.
In SQL Server, in some cases, you may want to find rows containing lowercase letters.
You can easily do this by revising the sample code below.
SELECT *
FROM Customers
WHERE CompanyName LIKE '%[abcdefghijklmnoöpqrsştuüvwxyz]%' collate Latin1_General_CS_AS
When you run the above code, you will see a result similar to the one below.
As you can see, we have found lines containing lowercase letters.
Good luck to everyone in business and life.