Integrating PL/SQL with Perl
572704Jan 10 2010 — edited Jan 10 2010Hello All,
I have just started learning PL/SQL and this my first R&D stuff with PL/SQL :)
I have a very basic beginner question.
Suppose I want to insert 1 lakh rows in a table through Perl. One and easiest way to do is to prepare and execute insert queries using Perl module - 'DBI' module in a loop
But I guess this will send lot of traffic over the LAN. What I rather feel is that if I execute these 1 lakh SQL queries using PL/SQL it will be comparatively more network efficient and fast.
So I have following questions:
1. Is it possible to integrate PL/SQL with Perl using 'DBI' module
2. Is there a way in PL/SQL that it will return status of all the 1 Lakh SQL queries after execution that will let me know which SQL queries were successfully executed and which failed.