Have you ever seen an issue related to MS DTC, SQL Server and JDBC XA distributed transactions? A client contacted me for help and he wanted my opinion within one hour. They signed up for my On Demand consulting services and we started looking at the server and application.
SQL SERVER – How to Update Two Tables in One Statement?
Question: How to Update Two Tables in One Statement?
SQL SERVER – How to Identify a DB is Using Cross-Database Transactions?
Recently, when I was at a conference, one of the attendees came to me to ask a question. The conversation was as below for cross-database transactions.
SQL SERVER – Knowing Nested Transactions Behavior with SQL Server
SQL Server is an interesting database system that baffles me every single day that I get to learn something new. This blog has been my way to share these learnings. Every time I write something new, my blog readers have been kind enough in pushing me with interesting comments that…
Read MoreSQL SERVER – Identify Oldest Active Transaction with DBCC OPENTRAN
I recently received a question on my Facebook page- “Pinal, How do I know if there is any open transaction in my database? I recently wanted to restart my server, but my manager asked me to first check if there is any open transaction in database before I restart the…
Read MoreSQL SERVER – TRANSACTION, DML and Schema Locks
Today we will be going over a simple but interesting concept. Many a time, I have come across the lack of understanding on how the transactions work in SQL Server. Today we will go over a small but interesting observation. One of my clients had recently invited me to help…
Read More