I'm trying to determine if its possible to do the following in a single update query. I have two fields, [PEG] and [PEGSCORE]. [PEGSCORE] is the field that will be updated as a result of my query, [PEG] is the field that is used to determine the value entered in [PEGSCORE]. What I want to do is the following:
If PEG<.5, update [PEGSCORE] to 3
If PEG<1, update [PEGSCORE] to 2
If PEG<2, update [PEGSCORE] to 1
all other values return value 0
Is it possible to do this in a single update query or will I have to run 4 seperate ones for each potential outcome?