in reply to Re^5: Multiple queries on DBI corresponding to multiple csv files?
in thread Multiple queries on DBI corresponding to multiple csv files?
I have changed it for the below code but now it is returning only the first element.$id[0] = @{$dbh->selectall_arrayref($sql,undef,'no')};
It's returning all the elements but you are then discarding all but the first. If you want them all, keep them all:
@id = @{$dbh->selectall_arrayref($sql,undef,'no')};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Multiple queries on DBI corresponding to multiple csv files?
by jtech (Sexton) on Feb 21, 2019 at 12:38 UTC | |
by poj (Abbot) on Feb 21, 2019 at 13:00 UTC | |
|
Re^7: Multiple queries on DBI corresponding to multiple csv files?
by jtech (Sexton) on Feb 21, 2019 at 12:53 UTC |