I'm getting pretty good at writing stored procedures, but I'm wondering about whether it's a good idea to have a transaction, rollback, commit in every sort of stored procedure. Or whether using transactions is something you want to use in only certain kinds of stored procedures.