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.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 Mixed case names

Author  Topic 

Amethystium
Aged Yak Warrior

701 Posts

Posted - 2003-12-16 : 08:57:43
Greetings,

Consider the following string :

'AMETHYSTIUM NAZIANO ODONATA ADOLOFO'

what I am after is :

'Amethystium Naziano Odonata Adolofo'

Basically, keep the letter of each word as upper case and convert the rest to lower.

I know it's an easy solution for one string but what you have more or less?

'Amethystium Naziano Odonata Adolofo'
'Amethystium Naziano'
'Amethystium Naziano Odonata'

etc...


________________
Make love not war!

mohdowais
Sheikh of Yak Knowledge

1456 Posts

Posted - 2003-12-16 : 09:14:11
Search and ye shall find:

http://vyaskn.tripod.com/code/propercase.txt

also see:
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=22091&SearchTerms=proper+case
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=15152&SearchTerms=proper+case



Owais

We make a living out of what we get, but we make a life out of what we give.
Go to Top of Page
   

- Advertisement -