結果 : t sql while loop instead of cursor