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 exception handling is done in advance pl/sql?

965


What is sql not null constraint?

1010


Do we need to create index on primary key?

904


How to select 10 records from a table?

1141


Explain constraints in sql?

1028


Can we have two clustered index on a table?

1011


Explain the savepoint statement.

1082


Does oracle roll back the transaction on an error?

1000


How to Declare Fixed Length String Value In PL SQL

1135


How to avoid duplicate records in a query?

987


How do I edit a trigger in sql developer?

972


What are different types of indexes?

996


Can we use the cursor's to create the collection in PL/SQL?

1006


What is t sql in sql server?

1055


What is procedure and function in sql?

975