結果 : if statement in sql server stack overflow