how to select a field with firstletter as capital and
remaining are small letters
Answer Posted / vidit tyagi
SELECT Left(upper(<field_name>) , 1) + lower(substring
(<field_name>,2,len(<field_name>))) AS SomeName
FROM <table_name>
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What are the recovery models for a database?
How to delete all rows with truncate table statement in ms sql server?
Tell me what do you mean by an execution plan? Why is it used? How would you view it?
How to implement one-to-one, one-to-many and many-to-many relationships while designing tables?
What are the various editions of sql server 2017 that are available in the market?
How do I view a stored procedure in sql server query?
What is the meaning of sql server?
How the authentication mode can be changed?
What are the differences between char and nchar in ms sql server?
Is foreign key a primary key?
What is raid? : SQL Server Architecture
What are the reporting services components?
What is the largest component inside a field?
What is the fastest way to permanently delete a 1 million row table named customers?
How to find index size for each index on table?