How do I get this to work?
select * from table where column like '%situation = 'C'%'
Advertisement
Answer
To escape an apostrophe you need to double it see manual
select * from table where column like '%situation = ''C''%'
How do I get this to work?
select * from table where column like '%situation = 'C'%'
To escape an apostrophe you need to double it see manual
select * from table where column like '%situation = ''C''%'