Thread SQLite show tables
(2 answers)
Opened by rosti at 2019-07-26 17:25
Nach Vorschrift:
Code (perl): (dl
)
1 2 3 4 5 6 7 8 my $dbfile = "places.sqlite"; my $dbh = DBI->connect("dbi:SQLite:dbname=$dbfile","","") or die $@; $dbh->selectall_arrayref("show tables"); Ergibt bei mir: DBD::SQLite::db selectall_arrayref failed: near "show": syntax error at.. Was mache ich falsch!? Gibt es evntl. eine andere Möglichkeit zur Ausgabe der Tabellen? Bitte mal um Hinweises, MFG |