Sorry but I'm a bit of a SQL novice and having trouble setting a bit value based on other numeric column values.
What I want to do is somthing like this (in pseudo speak!)
UPDATE MyTable
SET MyBitColumn = ((MyNumeric1 > 0 ) OR (MyNumeric2 >0))
WHERE etc.
What is the correct sysntax to evaluate the logic expression?
Many thanks!
What I want to do is somthing like this (in pseudo speak!)
UPDATE MyTable
SET MyBitColumn = ((MyNumeric1 > 0 ) OR (MyNumeric2 >0))
WHERE etc.
What is the correct sysntax to evaluate the logic expression?
Many thanks!