Why doesn\'t SQL Server support TRY-CATCH blocks inside UDFs?
If we\'re talking about scalar UDFs, which are mostly used for calculations and conversations, this block s
Maybe it is because the overhead is too much - a scalar function could be called on a column as part fof a select and so be called thousands of times. If there was a reasonable overhead to allow try/catch it would slow it down horrendously.