title: Why is TRY-CATCH block not allowed inside UDFs?
body: <p>Why doesn't SQL Server support TRY-CATCH blocks inside UDFs?</p>
  
  <p>If we're talking about scalar UDFs, which are mostly used for calculations and conversations, this block should be heavily used, but we don't have it.</p>
  
  <p>Also, what workarounds do you use for this?</p>