Lebih cepat yg pertama donk karena sekali eksekusi langsung update semua kolom dibanding update 1 kolom untuk tiap eksekusi. iwan
--- On Fri, 10/10/08, Yoenoes Lucas <[EMAIL PROTECTED]> wrote: From: Yoenoes Lucas <[EMAIL PROTECTED]> Subject: [indo-oracle] update performance, mana lebih cepat? To: [email protected] Date: Friday, October 10, 2008, 4:03 PM Dear gurus, asumsi suatu table dengan jumlah record 2 juta record, dan mempunyai 3 index biasa (bukan unique) saya mau update table tersebut dengan perintah sql sbb : update table_x set col_g = 0, col_h =0, col_i = 0, cold_j = 0, cold_k = 0; dibandingkan dengan update table_x set col_g = 0; update table_x set col_h = 0; update table_x set col_i = 0; update table_x set col_j = 0; update table_x set col_k = 0; mana yang lebih cepat perintah update yang di atas atau yang di bawah? serta alasannya kenapa lebih cepat yah.. thx Yoenoes [Non-text portions of this message have been removed] [Non-text portions of this message have been removed]

