Home Forums Article Discussions Article Discussions by Author Discuss content posted by Arup Chakraborty 4 Ways to Increase Your Salary (Using UPDATE) RE: 4 Ways to Increase Your Salary (Using UPDATE)
azaroth_lettar
SSC Rookie
Points: 35
More actions
November 26, 2009 at 4:21 pm
#1084730
Please note that id as identity, so using count (*) do not deliver the last record but much better to use max (id).
count (*)
max (id)
Besides the set should be:
set salary = salary * 1.15
dividing machines are bad.