I have a database Customers. Columns as below
ID CompanyName
1 Bon app'
2 %Benguir$
3 ABB?
DELETE FROM Customers WHERE CompanyName = 'Bon app\''
I wish to say delete records where CompanyName is Bon app'
. Notice the '
at the end.
I wish to do the same for %Benguir$
and ABB?
. Basically I want to know how to handle strings with special characters in SQL while using query