Willkommen bei WordPress. Dies ist dein erster Beitrag. Bearbeite oder lösche ihn und beginne mit dem Schreiben!
Hallo Welt!
von raredesign | Dez 3, 2019 | Allgemein | 0 Kommentare
Cokiee Shell
Current Path : /usr/share/doc/libdbd-mysql-perl/examples/ |
Current File : //usr/share/doc/libdbd-mysql-perl/examples/bug30033pg.pl |
#!/usr/bin/perl use strict; use warnings; use Data::Dumper; use DBI; my $dsn = "DBI:Pg:database=postgres;host=localhost"; my $dbh = DBI->connect( $dsn, 'postgres', '', { RaiseError => 1 } ) or die $DBI::errstr; $dbh->do('CREATE TABLE buggy ( id INT )'); $dbh->do('INSERT INTO buggy (id) VALUES (1)'); my $ref= $dbh->selectrow_arrayref(<<END, {}, 1); SELECT id FROM buggy -- it's a bug! WHERE id = ? END print Dumper $ref; $dbh->do('DROP TABLE buggy');
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare