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 acid properties?
Can I delete event logs?
How do you create a clustered index?
Define normalisation?
What is full outer join in sql server joins?
Do you know what is difference between index seek vs. Index scan?
Why use stored procedures in sql server?
Can you pass expressions to function parameters?
Tell me what do we need queues in sql service broker?
What is sql server profiler?
Tell me what is the significance of null value and why should we avoid permitting null values?
What is partition index in sql server?
What is difference between count (*) and count column?
Write a Select Query to display title for each group of records, which are collected with Compute Clause? Like titlefield column-A column-B ..... ..... ..... Sum ... titlefield column-A column-B ..... ..... ..... Sum ...
What is the difference between ‘having’ clause and a ‘where’ clause?