結果 : sql performance cursor vs while