Table Name : Student ---------------- ID | NAME | ADDRESS ---------------- 1 | Mark | Queen\'s Road 2 | Ann | Church Road 3 | Sam | Temple Road
I need to get si
You can escape a quote in Oracle by doubling it.
So, using the regular LIKE operator:
LIKE
SELECT * FROM student WHERE address LIKE '%''%'
With REGEXP_LIKE you'd have to perform a similar escaping:
REGEXP_LIKE
SELECT * FROM student WHERE regexp_like (address, '''+')