in reply to Database access
my $dbh = DBI->connect("dbi:ODBC:test", $user, $pass, { 'AutoCommit' =>1, 'RaiseError' =>1}) || die "Error connecting: '$DBI +::errstr'"; # Assuming the username and password to connect to the DB are in $user + and $pass, respectively.
CU
Robartes-
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Database access
by Ananda (Pilgrim) on Nov 19, 2002 at 11:36 UTC | |
by vek (Prior) on Nov 19, 2002 at 15:39 UTC | |
by Chief of Chaos (Friar) on Nov 19, 2002 at 12:02 UTC |