Is it possible to perform an update statement in sql, but only update if the updates are different?
for example
if in the database, col1 = \"hello\"
col1 = \"hello\"
You need an unique key id in your table, (let's suppose it's value is 1) to do something like:
id
UPDATE table1 SET col1="hello" WHERE id=1 AND col1!="hello"