I am trying to do a delete, I have done the select and I am finished working with this record. I need to get rid of it.
This is my code. I have tried ';', 'and', ','
The error is trying to read the second where value.
Is there a way to get the record I want and delete it?
This is my code. I have tried ';', 'and', ','
Code:
## delete the line from procure.RECPO2
$dbh->do("DELETE FROM procure.RECPO2 WHERE
po_number = '" . $vPO . "';
requester = '" . $vReqName . "';
req_num = '" . $vSourDoc . "'")
or die "Couldn't delete line: " . $dbh->errstr;
The error is trying to read the second where value.
Is there a way to get the record I want and delete it?