I am writing a stored procedure for Firebird 2.5 in which I sometimes need to update a single row in a data table more than once in the same transaction. However, I have noticed that the performance degrades drastically when I do this. (From an execution time measure in ms to sometimes a second or more!) Is this something intrinsic to Firebird 2.5, or am I mistaken? Do I just need to ensure that I only update each row once per transaction?