francisongsw has asked for the wisdom of the Perl Monks concerning the following question:
my $DSN = 'driver=Microsoft Access Driver (*.mdb);dbq=\\\\ntsimoddev\\ +module\\AccessDB\\GSIView.mdb'; my $dbh = DBI->connect("dbi:ODBC:$DSN", '','') or die "$DBI::errst +r"; my $sth2 = $dbh->do("SELECT id FROM main WHERE machine = '$machinename +' and weekNumber = '$wwnow'"); my $refarray = $sth2->fetchrow_array();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: cannot retrieve value from select statement
by jZed (Prior) on Apr 05, 2005 at 05:35 UTC | |
|
Re: cannot retrieve value from select statement
by davido (Cardinal) on Apr 05, 2005 at 05:34 UTC | |
by jZed (Prior) on Apr 05, 2005 at 05:48 UTC | |
by davido (Cardinal) on Apr 05, 2005 at 05:56 UTC |