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\"
This is possible with a before-update trigger.
In this trigger you can compare the old with the new values and cancel the update if they don't differ. But this will then lead to an error on the caller's site.
I don't know, why you want to do this, but here are several possibilities: