SELECT * FROM MyTable WHERE dataCol LIKE '%[%]%'
select * from Student WHERE CHARINDEX('%',[Student Name],0)>1
select x from users where columnToBeSearched like '%[%]%' OR otherColumnToBeSearched like '%[%]%'
SELECT * FROM TABLE WHERE COLUMN_NAME LIKE '%[^a-zA-Z0-9]%'
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)