sql - MOD operator in where clause -
am getting invalid number exception how use mod
in where
clause, want update or odd rows based on id.
update employee set respstr1 = 'ep' mid = 7246 , (mod(id/2) = 1)
correct syntax mod is
mod(id,2)
Comments
Post a Comment