how to select a field with firstletter as capital and
remaining are small letters
Answer Posted / k.vanitha
CREATE TABLE Employee (NAME VARCHAR(20), SALARY int);
INSERT INTO employee VALUES (
'RAMESH',
9000);
INSERT INTO employee VALUES (
'RAJESH',
10000);
SELECT Left(upper(NAME),1) +
lower(substring(NAME,2,len(NAME))) FROM employee
Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What are the different sql server versions?
what are defaults? Is there a column to which a default can't be bound? : Sql server database administration
Are resultset updatable?
What is blocking?
How to create a dml trigger using create trigger statements?
What are the components of dbms?
Is mysql better than sql server?
What is normalization 1nf 2nf 3nf?
How to select some specific rows from a table in ms sql server?
What are sql server functions?
How to check parameter value in stored procedure sql server?
What is the server name for sql management studio?
How can you find out how many rows returned in a cursor?
what are the basic functions for master, msdb, model, tempdb and resource system databases? : sql server database administration
What are the differences between triggers and stored procedures?