I have simple select query:
Select * from ABC
where title like N'%[text] xxxxx%' => return nothing.
Select * from ABC
where title like N'%xxxxx%' => correct record '[text] xxxx'
My table has some records with content contains [xxx] ..... and i have to compare them with other content from source outside the database, and the content from the source also may contains square bracket.
e.g: i could have thousands of titles from othersource to compare:
- [text] content
- content
2 formats, just don't know how to compare with the title in Database because i dont know beforehand its structure.
How can I pass in a content that possible contains a square bracket and still get the correct result ?