CLR Functions for MS-SQL