Solved

SQL Transaction locking whloe table

Posted on 2004-09-19
3
241 Views
Last Modified: 2010-04-17
if SqlTransaction applied while updating table its locks whole table so it not let other select command to fetch data from table as long Transaction is not finished
0
Comment
Question by:meharmahmood
3 Comments
 

Accepted Solution

by:
GRV_Consulting earned 125 total points
ID: 12098699
That is correct. Some database systems use table locking on transactions to prevent other processes from altering the same data. You haven't mentioned what database system you are working with ... is it MS-SQL Server .. Oracle ..  MySQL?

Also keep in mind that the locking method a particular database uses is sometimes configurable by the administrator. MySQL for example can use MyISAM tables which lock the table on DELETE transactions, or it can use InnoDB which has row level locking.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
This is about my first experience with programming Arduino.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now