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

What is self-join and what is the requirement of self-join?

1151


what is the difference between union and union all? : Sql dba

1020


what is the difference between delete and truncate statement in sql? : Sql dba

1242


What is rtm in testing?

1108


how to add a new column to an existing table in mysql? : Sql dba

1071


What is substitution variable in pl sql?

1042


Difference between global and parameter variables?

1964


Differentiate pl/sql and sql?

1064


What are the ddl commands?

1010


Explain dml and ddl?

991


Why do we create views in sql?

1149


How many unique keys can a table have?

1012


What are the two types of exceptions.

1163


What is a natural join sql?

968


Mention what does the hierarchical profiler does?

1088