I have table with 3 columns Month, Name, Sales.
In the Month column is data like "Jun'18, Jul'18 ..."
So how can I use "Jun'18" in where condition without using LIKE
function.
I have table with 3 columns Month, Name, Sales.
In the Month column is data like "Jun'18, Jul'18 ..."
So how can I use "Jun'18" in where condition without using LIKE
function.
You'll just have to escape the single quote like this:
SELECT * FROM TableName WHERE Month = 'Jun''18'