Proper case SQL Function
July 27th, 2009
No comments
Simple function to convert a string to proper case
CREATE FUNCTION PROPERCASE ( --The string to be converted to proper case @INPUT VARCHAR(8000) ) --This function returns the proper case string of varchar type RETURNS VARCHAR(8000) AS BEGIN IF @INPUT IS NULL BEGIN --Just return NULL if input string is NULL RETURN NULL END <a href="http://www.fruitbatscode.com/uncategorized/proper-case-sql-function#more-293" class="more-link">Read more...</a>
Categories: SQL, Uncategorized