結果 : sql server loop for each row in table