My code reads: <code> my $sth = $dbh->prepare("select distinct user_name from log where stop_date >= '2003/02/01'"); $sth->execute() or die "cannot execute select : " . $sth->errstr(); </code>
It worked 100% until I made some addition that I removed again ... strange.
Umm, well that code works fine so there's not much I can say without seeing the code that didn't work.
Any way to bypass the error?
Hard to say without seeing what you left out. If it has parentheses in it, try rephrasing the query in a way that uses less parentheses.
-- Jeff
