I’m trying to find all the records that contains only a single ; in a column.
For example
- a;sdasd
- as;dasd;dasd
- as;dasd;das
only a;sdasd will be returned.
I have tried %;% but it will return all the strings that contain ;.
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.
Is one solution.
Another uses REGEXP_LIKE: