結果 : create a scalar function in sql server