Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

Function to return proper case

By Sean Cooperman,

Pass in the string you wish to check for proper case. If you separate the string by spaces it will check each word and capitalize the first letter. You can pass in as many words separated by a space as you wish. I hope you enjoy this function.

Total article views: 1366 | Views in the last 30 days: 4
 
Tags
string manipulation    
t-sql    
 
Contribute