Administration · T-SQL coding

Transaction isolation level escalation; does it happen?

Recently I was trying to track down a deadlock situation in production that was happening more than I would like (out of about 4,000 calls per day this stored procedure was deadlocking about 10-15 times).  The odd thing I noticed was that the isolation level on the connection was serializable…on a select procedure. My thought… Continue reading Transaction isolation level escalation; does it happen?

Administration · T-SQL coding

Matching Data Types

Relational databases are pretty forgiving…it’s usually not too important to try and “match” datatypes when you are working with data, the database engine will usually implicitly (i.e. automatically!) change one of your data types to match the command you are performing and continue on with you none-the-wiser.  Cool…however, that implicit conversion is noted (in the… Continue reading Matching Data Types