Find if update changed something or not
Igor S.Jan 31 2013 — edited Feb 1 2013Hi folks,
If you have a procedure that takes 10 parameters and updates a table. How would you check if something was really updated? The only way I know how to do this is to query the table and then compare input parameters with the query to see if anything changed. If someone updates data and changes it compared to previous state I need to return 1 or 0 if update did not change anything.
Is there any other way of finding this information?
Best regards,
Igor