I am putting exit condition in before and after my business logic, so it make any difference
BEGIN
FOR REC IN 1..10
LOOP
EXIT WHEN REC =5;
/*
business logic
*/
END LOOP;
END;
BEGIN
FOR REC IN 1..10
LOOP
/*
business logic
*/
EXIT WHEN REC =5;
END LOOP;
END;
Thanks
Edited by: Braam on Oct 11, 2012 10:24 PM