T-SQL: User Defined Functions
Please see my other Database Development articles. Creating reusable logic As with Object-Oriented Programming (OOP) where it’s important to separate code used frequently into reusable modules, in T-SQL the same need exists. In this example I demonstrate a user-defined function (UDF) that receive a string from which all pre-defined matching blocks of HTML are found…