cannot filter the records where the column having hyphen in PostgreSQL

260 Views Asked by At

I have been using Like function to filter the records based on the user input, it works for all the characters but its not working for hyphen,below the condition where I'm using this Like function to filter the records having hyphen,

LIKE upper('%-%') 
0

There are 0 best solutions below