469,343 Members | 5,478 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,343 developers. It's quick & easy.

Extacting the data from Oracle and writing in an Excel sheet

Hi ,
Here is the situation:
I am creating a web page from a perl script.. this web page has
checkboxes which are from an oracle table - From this page I am
creating sql query and passing the param to a cgi file - I verified
the SQL statement and it is correct -- now here is my problem - I am
trying to write the data extracted from the table and writing it to an
excel sheet.
The SQL query is like :
SELECT $cols from Table
here the $cols is atleast one and could be more....(depending on the
selection made on the html page

I am using the following:

while ( @name = $sth->fetchrow_array() ) {
$worksheet->write($row,$col++, $name[0]);
Could someone help me with this - and also would appreciate if you
guys can comment on the design of it- what could be more efficent way
to do it ..;.
Perl beginner
Jul 19 '05 #1
0 2592

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.