CLR-Based Solution. - Ben-Gan, Itzik (SQL Server Magazine, 2009)