Example:
Table name : example with column Emp_name
emp_name
Ron
Raj
Robert
I want to display the name raj
in upper case for the table example.
Example:
Table name : example with column Emp_name
emp_name
Ron
Raj
Robert
I want to display the name raj
in upper case for the table example.
If I understand your question, I think you should write your query as follows:
SELECT UCASE(emp_name) FROM your_table WHERE emp_name = Raj;
If you want to select all the emp_name
column and display it in uppercase, you should use this instead:
SELECT UCASE(emp_name) FROM your_table;
Question is not clear whether you are asking for My sql
use UPPER() for MS SQL Server