結果 : how to execute scalar function in sql with parameters