. Hello, My table's columns are: [ID, VALUE, MODIFIED]
How can I make the following update in sql (Its probably easy but i don't achieve it ). i have a int= new_value
UPDATE FROM table SET value = new_value,modified= if (new_value==VALUE) then 0 else 1;