I need to write a query where I need to find the ' character.
Like Shivam's - I need to find the ' mark.
select * from DTCountries where CountryCode like '%'%'
I need to write a query where I need to find the ' character.
Like Shivam's - I need to find the ' mark.
select * from DTCountries where CountryCode like '%'%'
Just need to escape it.
SELECT * FROM DTCountries WHERE CountryCode LIKE '%''%'
Double it up
select * from DTCountries where CountryCode like '%''%'