Home
AskTheOracle Blog
Oracle Tips & Tricks
Oracle Training
Oracle Tutorials
PL/SQL
SQL
Advanced Tutorials
Performance Tuning
Certification
Oracle 10g
Oracle 11g
Oracle and .Net
Oracle Utilities
Developer Tools
Oracle Questions?
Oracle News
Search This Site
About Us
Disclaimer
Privacy Policy
Contact Us
Subscribe To This Site
XML RSS
Add to Google
Add to My Yahoo!
Add to My MSN
Subscribe with Bloglines

How will we know that all the records have been inserted into our Oracle database table?

by JAMUNA
(HYDERABAD)

Question: We will be inserting 10 million records into a table in our Oracle database. How will we know that all the records have been inserted into our table?





Unless we're missing something, the easiest way to do this is to count the number of records in your destination table before the insert and then count them again after the insert. This is done by issing the SQL command SELECT COUNT(*) FROM my_table;

You don't say what you're using to do the insert but if you're using tools like SQL*Loader, or Import/Impdp these also generate log files which can be examined after the insert for any errors.

If you're writing a bespoke program to do this then ensure that you write any errors to a log file.

Click here to post comments.

Join in and write your own page! It's easy to do. How?
Simply click here to return to Oracle Questions
.