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