in reply to Re^2: Multiple queries on DBI corresponding to multiple csv files?
in thread Multiple queries on DBI corresponding to multiple csv files?
New question :)
Any way to create a temporary table in the array @query and make it contents available to the other queries?
Something like...
my @query = ( [DECLARE GLOBAL TEMPORARY TABLE SESSION.temp SELECT id FROM mytabl +e ON COMMIT PRESERVE ROWS WITH NORECOVERY, "/dev/null"], ["SELECT name FROM SESSION.temp WHERE id=? AND salary >= 1","csv +file2_$id.csv"], }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Multiple queries on DBI corresponding to multiple csv files?
by poj (Abbot) on Feb 22, 2019 at 17:18 UTC | |
by jtech (Sexton) on Feb 25, 2019 at 10:08 UTC | |
by poj (Abbot) on Feb 25, 2019 at 12:52 UTC |