Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

no statement executing

Status
Not open for further replies.

teroy

Programmer
Oct 17, 2000
67
AU
hi guys,
I got the following error in my log files when i run a sql statement that does not return a value for fields ina recordset

[Thu May 8 16:30:50 2003] missing_fields.cgi: no statement executing at /home/troyr/public_html/2002/platypus_contacts/tools/missing_fields.cgi line 56.


The program continues to run no worries, i've got a feeling its something to do with the driver i'm using

DBI:Sybase:server
and the fact that i'm using
selectall_arrayref & selectrow_array

Code:
    my $cmdId="select id from customer " .
              "where username='$username' " ;
    my $id=$dbh->selectrow_array($cmdId) or die $dbh->errstr ;

when i do the same thing with a postgres dbase using dbi:pg i don't have any problems.

does anyone know how to stop these messages popping up in my log files?

Thanks in advance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top