結果 : how to create a function in sql server management studio