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