結果 : how to use try catch in sql function