Re: UPDATE ... WHERE writing a new line
Try it like this:
my $sth = $dbh->prepare("UPDATE control_number SET ctrlnum='$max' WHERE id = 1");
$sth->execute;
You can only process a single statement. The semi-colon is not needed.
Subject
Written By
Posted
November 17, 2012 10:34AM
November 18, 2012 03:39PM
November 19, 2012 02:02PM
Re: UPDATE ... WHERE writing a new line
November 19, 2012 01:07PM
November 19, 2012 02:07PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.