結果 : error handling in function sql server