Stored procedures and transactions & triggers 1 • Intro stored procedures • Declaring parameters • Using @@ERROR in a sproc • Intro to transactions • Concurrency control & recovery • States of transactions • Desirable properties of transactions • Handling transactions • Manually raising errors • Primary benefits of stored procedures • Intro to triggers • FOR/AFTER vs INSTEAD OF clause • Using triggers for data integrity rules • The UPDATE() function Steen Jensen, autumn 2013