I wrote the following query:
SELECT * from TABLENAME WHERE COLUMNNAME NOT LIKE ('%%%');
Assume that the table has only one column. The problem is that the query doesn't recogonize the % inside NOTLIKE as a character, rather as a part of the syntax itself. How do I rectify this?