D
debraj
Hi,
Just wanted a small help. I have a perl script (OS:Linux) in which I
am repeatedly evoking sqlplus, for connecting to the database(Oracle)
because the select statement changes often(about 500 times) and its
taking a lot of time. Now, I know this much that DBI helps in
connecting to the database and can do SQL queries but how much will it
improve the performance? The query is very simple only that the select
clause changes.
OR is there any better way to do it?
Example: select * from emp where emp_no=****;
The above is the query and in a loop the emp_no changes about 500
times.
Thanx in advance,
Debhatta
Just wanted a small help. I have a perl script (OS:Linux) in which I
am repeatedly evoking sqlplus, for connecting to the database(Oracle)
because the select statement changes often(about 500 times) and its
taking a lot of time. Now, I know this much that DBI helps in
connecting to the database and can do SQL queries but how much will it
improve the performance? The query is very simple only that the select
clause changes.
OR is there any better way to do it?
Example: select * from emp where emp_no=****;
The above is the query and in a loop the emp_no changes about 500
times.
Thanx in advance,
Debhatta