
| Current Path : /var/www/web-klick.de/dsh/50_dev2017/1300__perllib/Workflow/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/web-klick.de/dsh/50_dev2017/1300__perllib/Workflow/sqlite.pl |
use strict;
use DBI;
use DBD::SQLite;
my $file = shift;
my $dbh = DBI->connect("dbi:SQLite:$file");
$dbh->do("create table if not exists address (object,ind)");
$dbh->do("create table if not exists address_ind (keyx,ind)");
$dbh->do("insert into address (object) values (\"abc\")");
my $hh = $dbh->prepare("select t1.ROWID,t1.object from address as t1,address_ind as t2 where t1.object like \"ab\"");
$hh->execute();
my $o;
while ($o = $hh->fetchrow_arrayref()) {
print "WW: " . $o->[0] . "\n";
}