What T-SQL query I should use to find out all rows that have column1 ending with %? I am using SQL SERVER 2000. Sample data in column1:
column1
-------
100px
100% <- THIS ROW
200px
200% <- THIS ROW
300px
300% <- THIS ROW
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Please check out question Escape a string in SQL Server so that it is safe to use in LIKE expression for more examples of escaping special characters.
The official documentation is in the MSDN article for the LIKE operator (SQL Server 2000).