Perobl has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks
I'm having some trouble getting UPDATE to work with my MS SQL Server.
my $sth = $dbh -> prepare("UPDATE vac_balance SET carry_over = ? WHERE + employee_id = ?"); $sth -> execute($carry_over, $employee_id);
SQL doesn't seem to like my prepare statement. What am I doing wrong?
Thank you.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: UPDATE not working with MS SQL Server
by keszler (Priest) on Nov 04, 2011 at 16:24 UTC | |
by Perobl (Beadle) on Nov 04, 2011 at 16:36 UTC | |
by johnny_carlos (Scribe) on Nov 04, 2011 at 17:25 UTC | |
by Eliya (Vicar) on Nov 04, 2011 at 17:44 UTC |