結果 : how to use a scalar function in sql server