25 September, 2015

For And For all

https://venzi.wordpress.com/2007/09/27/bulk-collect-forall-vs-cursor-for-loop/

FOR is an actual loop which will go through records one by one and do some processing. 

FORALL is NOT an actual loop, it's just a notation for a bulk DML operation. It will NOT go through rows one by one. For example, you can do some row processing in a FOR loop, but you won't be able to do it in FORALL.