結果 : how to assign value to variable from select statement in sql server