How to fetch the Exact UPPERCASE values from a column in MySQL?

How to fetch the Exact UPPERCASE values from a column in MySQL?


If a column have uppercase value like "NEW". We want to take the exact value from the table.

SELECT * FROM sales  WHERE status REGEXP BINARY '^[A-Z]{2,}' AND uploadeddate LIKE '%2017-03-31%' AND status = 'NEW';         
       

Comments

Popular posts from this blog

How do i Increase the capacity of the Eclipse Output console?

How to set max connections in mysql?

An internal error occurred during: "Building workspace". Java heap space