結果 : how to execute sql scalar function