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

Answer Posted / radhika

SELECT Left(upper(<field_name>) , 1) + substring(lower
(<field_name>, 2, len
(<field_name>))
FROM <table_name>

Is This Answer Correct ?    6 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do you know the different ddl commands in sql?

761


What is the definition for sql server 2000?

790


how many layers of tcp/ip protocol combined of? : Sql server database administration

720


Explain the use of containers in ssis?

679


Explain how to send email from sql database?

735






How data can be copied from one table to another table?

702


What is use of except clause? How does it differ from not in clause?

736


How to concatenate two character strings together?

763


What are the steps you can take to avoid “deadlocks”?

682


Where sql server usernames and passwords are stored in a sql server?

661


Can we add an identity column to decimal datatype?

757


What is difference between getdate and sysdatetime in sql server 2008?

778


where can you add custom error messages to sql server? : Sql server administration

802


What are types of subqueries?

749


What is the stuff and how does it differ from the replace function?

732