how to select a field with firstletter as capital and
remaining are small letters

Answer Posted / dharmendra k dixit

Select Left(Upper((YourColumnName), 1) + Substring(Lower
(YourColumnName),2,Len(YourColumnName))AS UName
From YourTableName

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe triggers features and limitations?

500


Explain the disadvantages/limitation of the cursor?

554


Explain the working of sql privileges?

603


What is inline table-value user-defined function?

582


Write a sql query to sort on different column name according to the parameters passed in the function?

522






What is RAID? What are the different types of RAID configurations?

608


How to start sql server browser service?

550


What is molap and its advantage? : sql server analysis services, ssas

538


What is trigger in salesforce?

489


What is a View ? Can we insert, Update and delete a view?

625


How to define and use table alias names in ms sql server?

553


What is server-level principal?

98


What is trace flag in sql server?

517


What are the hotfixes and patches in sql server?

539


Do comments need to go in a special place in sql server 2005?

505