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\"
CREATE OR REPLACE PROCEDURE stackoverflow([your_value] IN TYPE) AS BEGIN UPDATE [your_table] t SET t.[your_collumn] = [your_value] WHERE t.[your_collumn] != [your_value]; COMMIT; EXCEPTION [YOUR_EXCEPTION]; END stackoverflow;