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

What is sql injection vulnerability?

0 Answers  


how to delete duplicate rows from a join tables(I have three tables on that join) how do you know which join is need to be used? The select statement I have is: SELECT gc_skill_type.skill_type, gc_area_tec.area, gc_technology.technology, gc_technology.id_technology, gc_area_tec.id_area_tec FROM gc_skill_type, gc_area_tec, gc_technology WHERE gc_area_tec.id_skill_type (+) = gc_skill_type.id_skill_type AND gc_technology.id_area_tec (+) = gc_area_tec.id_area_tec order by gc_skill_type.skill_type asc, gc_area_tec.area asc, gc_technology.technology asc

1 Answers   IAS,


Is it possible for a table to have more than one foreign key?

0 Answers  


Find out the 3rd highest salary?

51 Answers   BirlaSoft, DAC, Silvia Infotech, Sutra Infotech,


What is materialized view in sql?

0 Answers  






Can we update views in sql?

0 Answers  


Why commit is not used in triggers?

0 Answers  


what is the difference between myisam static and myisam dynamic? : Sql dba

0 Answers  


how does a local variable is defined using t-sql? : Transact sql

0 Answers  


what is d diff between grant,commit,rollback n savepoint

1 Answers  


Where is all the data on the internet stored?

0 Answers  


What is the fastest way of accessing a row in a table?

5 Answers   TCS,


Categories