The first general-purpose use for the CLR in SQL 2005 that I created was with the SQL 2005 assembly, which has many functions that perform string operations and pattern matching using regular expressions. SQL 2005’s native string functions can be extended so that you can check common formats, such as phone numbers or credit card numbers, or perform regular expressions in stored procedures.
SQL CLR .