While inserting/updating million of records into a database table, how do I came to know how many records has been inserted or updated successfully so far?

Answers were Sorted based on User's Feedback



While inserting/updating million of records into a database table, how do I came to know how many re..

Answer / nit

use sql%rowcount after each statement

Is This Answer Correct ?    2 Yes 0 No

While inserting/updating million of records into a database table, how do I came to know how many re..

Answer / hairreddy

by using cursor attribute cursorname%rowcount we can find how many records fetched

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

how to get a list of indexes of an existing table? : Sql dba

0 Answers  


table structure: ---------------- col1 col2 ----- ----- 01-mar-2012 11:12:46 01-mar-2012 11:12:10 01-mar-2012 11:12:46 01-mar-2012 11:11:23 Write a query to display the result as shown below: col1 col2 ----- ----- 01-mar-2012 11:12:46 01-mar-2012 11:12:10

2 Answers  


What is dml and ddl?

0 Answers  


What is an invalid partition table?

0 Answers  


What are field types?

0 Answers  






what is the maximum length of a table name, database name, and fieldname in mysql? : Sql dba

0 Answers  


What is the criteria while applying index to any column on any table.

1 Answers   Infogain,


How would you convert date into julian date format?

0 Answers  


What is rank function in sql?

0 Answers  


If the base table structure is changed what will happen to join index????

2 Answers  


What is the need of merge statement?

0 Answers  


How does sql store data?

0 Answers  


Categories