Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the best strategy to use COMMIT in a pl/sql loop?

Answer Posted / sudhakar naraparaju

It depends on the number of records being looped. If it is
a huge table then it is better to commit after a specific
number of transactions are completed. Even better to do
inside the loop so that the data is commited for every set
looped.

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you take the union of two tables in sql?

981


If i can use sys.check_constraints to display my constraints from my database using sql server 2005, how can i display then if i am using sql server 2000????

4008


How to read/write files from pl/sql?

1035


What is the use of & in pl sql?

1043


what are the other commands to know the structure of table using mysql commands except explain command? : Sql dba

1063


Is sql better than excel?

1148


What is difference between table and view?

1048


what is foreign key? : Sql dba

1028


Does group by remove duplicates?

1037


What is cursor in pl sql with examples?

1033


Explian rowid, rownum?

1009


Can instead of triggers be used to fire once for each statement on a view?

962


what are the 'mysql' command line options? : Sql dba

1072


Inline the values in PL/SQL, what does it mean.?

1221


how to implement one-to-one, one-to-many and many-to-many relationships while designing tables? : Sql dba

986