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 is use of attribute hierarchy ordered ? : sql server analysis services, ssas
what are the different ways to return the rowcount of a table?
how do you implement one-to-one, one-to-many and many-to-many relationships while designing tables? : Sql server database administration
What happens if you delete a table that is used by a view?
What is t-sql script to take database offline – take database online.
What is the most common type of join?
How can you ensure that the database and sql server based application perform well?
What are the types of ssrs?
What is set nocount on?
What is efficiency data?
What is a data collection table?
Name few endpoints exposed by ssrs 2012?
Write down the syntax and an example for create, rename and delete index?
How do I find the sql server instance name?
role of sql sever 2005 in database rather than any other database