Question : ms sql change string with all upper case to proper lower case sentence

I need to convert an all upper case sentences into proper sentences with both upper and lower case. Example: if the sentence is "YOU ARE THE BEST", the result should be "You are the best.", or "You Are The Best", which ever way is easier to do, consider there are some cases that the sentence can goes like "THANK YOU A.J., YOU ARE THE BEST", then the result needs to be "Thank You A.J., You Are The Best", with the name A.J. still in upper case.  How can I do that MS SQL 2000?   Thanks

Answer : ms sql change string with all upper case to proper lower case sentence

With the function in the second URL, you can try like this.

select dbo.fProperCase('THANK YOU A.J., YOU ARE THE BEST','|A.J.|',null)

Thank You A.J., You Are The Best
Random Solutions  
 
programming4us programming4us