It is used to write characters in capital letter.
EmployeeID
|
EmployeeName
|
1
|
Mayank Dixit
|
2
|
Mona Dixit
|
3
|
Purnima
|
4
|
Payal
|
In the above table (employee), we want to write all characters
(EmployeeName) in capital letter.
Syntax
SELECT { fn UCASE(Column_Name) } AS Alias_Column_Name
FROM Table_Name;
Example
SELECT { fn UCASE(EmployeeName) } AS Name_OF_Employee
FROM Employee;
Here Name_OF_Employee is a subname (alias) of column.
Output:-
Name_OF_Employee
|
MAYANK DIXIT
|
MONA DIXIT
|
PURNIMA
|
PAYAL
|
No comments:
Post a Comment