UPDATE table1
SET SUBSTR (TO_CHAR(field_value),3,2) = ' 50' and SUBSTR (TO_CHAR(field_value),5,2) = '50'
where ( SUBSTR(TO_CHAR(field_value), 3, 2) = '100' ) or ( SUBSTR(TO_CHAR(field_value), 5, 2) = '100' )
tried the above in TOAD and I got "ORA-00927: missing equal sign." Please help!
data type for field_value is number. oracle version is 10g
thank you