Thread SQLite show tables (2 answers)
Opened by rosti at 2019-07-26 17:25

rosti
 2019-07-26 17:25
#190285 #190285
User since
2011-03-19
3216 Artikel
BenutzerIn
[Homepage]
user image
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

View full thread SQLite show tables