Reputation: 63
Is anyone kindly able to help me write an SQL Access Query to do something like this?
Table [Product Properties]
If [nType] = 8
Then [nValue1]*1.1
I wish to increase the values of fields in a column by a percentage if the value of the field in another column is '8',
Thank you
Upvotes: 1
Views: 234
Reputation: 55951
Try this:
Update [Product Properties]
Set [nValue1] = [nValue1] * 1.1
Where [nType] = 8
Upvotes: 1