Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2006-05-04 : 08:42:17
|
| satish writes "i am retriving some string from sqlserver and adding to dropdownlistcontrlol. i want to get what i am getting string from sqlserver it is like first leter is big and remainig leters are small than how can write sqlstatment(i.e what is string function to get first leter big and remainig leter small, pls help me)" |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2006-05-04 : 08:50:18
|
| Select Upper(substring(col,1,1))+Lower(substring(col,2,len(col))) from yourTableAlso, You can do it in your front end application before assigning data to dropdown controlMadhivananFailing to plan is Planning to fail |
 |
|
|
mahesh_bote
Constraint Violating Yak Guru
298 Posts |
Posted - 2006-05-06 : 01:46:01
|
| Hi Madhivanan,isn't there any function like "InItCap"?BMahesh |
 |
|
|
khtan
In (Som, Ni, Yak)
17689 Posts |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2006-05-09 : 01:56:15
|
| Oracle supports InitCap but not MSSQL Server. Also search at script Library forumMadhivananFailing to plan is Planning to fail |
 |
|
|
|
|
|