The Standard Stored Procedure: Why Every Proc I Write Starts With the Same 30 Lines
Every stored procedure I inherit tells me something about the engineer who wrote it. The ones with no error handling tell me they never had to debug a silent failure at 2 a.m. The ones with a bare EXEC sp_something and no transaction management tell me nobody ever