0

I have a table that contains a string column with the value "I won't go"

I want to return this row whether that user is querying "I won't go" OR "I wont go" (without apostrophe).

How should I solve this problem?

Thank you

4

1 回答 1

1

如何替换两边的单引号并进行相等比较:

where replace(col, '''', '') = 'I wont go'
于 2014-04-27T13:34:55.250 回答