Solved

SQL Transaction locking whloe table

Posted on 2004-09-19
3
253 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
When i run adoquery my application freezes 26 178
Apps blocked by Java 9 88
Run AutoHotkey script directly from Notepad++ 5 52
collection output issue 9 36
A short article about a problem I had getting the GPS LocationListener working.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

808 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