ansh batra has asked for the wisdom of the Perl Monks concerning the following question:
use DBI; my $dbh = DBI->connect("dbi:Pg:dbname='testing'", "postgres", "secret" +, {AutoCommit => 0, RaiseError=>1,pg_enable_utf8=>1})or die "could no +t connect to db\n"; $ret=$dbh->do("create table test (name varchar)")or die "could not exe +cute\n"; $dbh->disconnect; print "$ret\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: DBI issue with create table
by Corion (Patriarch) on Dec 02, 2011 at 09:38 UTC | |
by ansh batra (Friar) on Dec 02, 2011 at 09:46 UTC | |
by marto (Cardinal) on Dec 02, 2011 at 09:48 UTC | |
by ansh batra (Friar) on Dec 02, 2011 at 09:52 UTC | |
by marto (Cardinal) on Dec 02, 2011 at 09:54 UTC | |
| |
|
Re: DBI issue with create table
by Anonymous Monk on Dec 02, 2011 at 08:36 UTC | |
by ansh batra (Friar) on Dec 02, 2011 at 08:57 UTC |