I am having some problems with getting a mysql update statement with DBD::mysql. My SQL statemen is as follows:
eval { $dbh->do("UPDATE computer SET didDiagnostic = 1 WHERE CustId += *000-000002*") }; print "Update failed: $@\n" if $@;
From what I can tell the if $@ statement is not being exectued so I don't think it is failing but the entry in the database is never updated. I know my SQL syntax is correct becuase I can copy and paste it into mysql console prompt and it work. I can provide more information as needed, a code sniplet or a mysql dump.
In reply to Problem with update statement with DBD::mysql by vendion
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |