Hi,
You don't have to use subquery to set value there. That is not the right approach. Rephrase your query it to this.
Code:
update MyTable set p = p+5 where catID = 2
This would be enough to get that work.
Cheers!
_________________________
- Vijay G
Strive for Perfection