in reply to Re^5: One Question about DBF
in thread One Question about DBF
So my cuestion is where do I put the $dbh->ad_catalog()use DBI; my $dbhX = DBI->connect("DBI:XBase:/proyecto"); my $dbhA = DBI->connect( 'dbi:AnyData:' ); $dbhA->ad_catalog('etstx','CSV','etstx.csv'); my $sth = $dbhX->prepare("SELECT * FROM reg501"); $sth->execute(); $dbhA->do("CREATE TABLE etstx AS SELECT * FROM ?",{}, $sth);
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^7: One Question about DBF
by jZed (Prior) on Oct 18, 2007 at 19:26 UTC | |
by padawan_linuxero (Scribe) on Oct 18, 2007 at 19:35 UTC | |
by jZed (Prior) on Oct 18, 2007 at 20:14 UTC |