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...


I have a CURSOR then why we need BULK COLLECT again?



I have a CURSOR then why we need BULK COLLECT again?..

Answer / priya

"PL/SQL sends SQL statements such as DML and queries to the
SQL engine for execution, and SQL returns the results to
PL/SQL. You can minimize the performance overhead of this
communication between PL/SQL and SQL by using the PL/SQL
features that are known collectively as bulk SQL.

The FORALL statement sends INSERT, UPDATE, or DELETE
statements in batches, rather than one at a time. The BULK
COLLECT clause brings back batches of results from SQL. If
the DML statement affects four or more database rows, bulk
SQL can improve performance considerably.

Bulk SQL uses PL/SQL collections to pass large amounts of
data back and forth in single operations. This process is
called bulk binding. If the collection has n elements, bulk
binding uses a single operation to perform the equivalent of
n SELECT INTO, INSERT, UPDATE, or DELETE statements. A query
that uses bulk binding can return any number of rows,
without requiring a FETCH statement for each one."

Is This Answer Correct ?    9 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

How do I use google cloud in sql?

0 Answers  


Does inner join remove duplicates?

0 Answers  


Advantages and disadvantages of stored procedure?

0 Answers  


Why we use join in sql?

0 Answers  


how to check myisam tables for errors? : Sql dba

0 Answers  


how are rank and dense rank being alloted for column with same values over a particular column

1 Answers  


function can return multiple value?how give give sample coding

2 Answers   3i Infotech, CTS, Excelity Global, UHG,


Mention what is the function that is used to transfer a pl/sql table log to a database table?

0 Answers  


What is sql indexing?

0 Answers  


What is sql clause?

0 Answers  


what is a table in a database ? : Sql dba

0 Answers  


What are the differences between implicit and explicit cursors?

0 Answers  


Categories