I am using Perl DBI to connect to SQl server database, take the contents of a table and dump them into a spreadsheet. I am using fetchrow_array method to read every row of the eable and then write the contents into a spreadsheet. Here's the hitch - when i have few rows in the table, the script works just fine and the output spreadsheet gets created like a chram! But when I have say thousands of rows, the script just creates an empty spreadsheet! Any idea what might be the reason?
I was thinking on lines of the fetch size? Any idea how i can set the fetch size? Is there a limit on how many records can be iterated thru using fetchrow_array?