• The code examples are not correctly formatted in some cases at least on Chrome. Need to tweak those in the post.

    I would gently and humbly offer that the CLR provides a bit better testability potential? SQL is notoriously hard to write unit tests for. However, I may be completely off base.