how to select a field with firstletter as capital and
remaining are small letters
Answer Posted / priya
SELECT * UPPER(SUBSTRING(<COLUMNNAME>,1,1))
+LOWER(SUBSTRING(<COLUMNNAME>,2,LEN(<COLUMNNAME>))) AS
<SOMENAME> FROM <TABLENAME>
| Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
What is table-valued sub query?
Tell me what are the advantages of using stored procedures?
Any one plz send me SQL Server Developer/DBA resume for 4 years experience
What is collation sensitivity? Explain different types.
Describe and explain about SQL native client?
What is data mart? : sql server analysis services, ssas
what are the critical issues you have resloved in your company
Where sql server usernames and passwords are stored in a sql server?
what is normalization? Explain different levels of normalization? : Sql server database administration
What is a table called, if it has neither cluster nor non-cluster index? What is it used for?
What are the types of database recovery models?
How to create stored procedures with parameters in ms sql server?
Can two tables share the same primary key?
How can you hide the sql server instances?
What is a unique index?