SDU Tools: Alphabetic Only and Alphanumeric Only in T-SQL
Sometimes you need to remove all characters from a string, except for a certain type of character. This often happens when processing incoming data from an external source, before you use it within your systems.
In our free DBA and developer SDU Tools, we added some functions to help with this.
AlphabeticOnly limits the output string to just alphabetic characters, based on the English language.
AlphanumericOnly limits the output string to just alphabetic characters (again based on the English language) or the digits from 0 to 9.
2018-05-09

