I have a table with a column whose values come from an Enumeration. I need to create a TSQL function to convert these values to “Friendly Names” upon retrieval.
Examples:
'DateOfBirth' --> 'Date Of Birth'
'PrincipalStreetAddress' --> 'Principal Street Address'
I need a straight TSQL UDF solution. I don’t have the option of installing Extended Store Procedures or CLR code.
1 Answer