Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unable to edit data

Status
Not open for further replies.

babeo

Technical User
Mar 30, 2000
398
CA
Hello,
I am using MSQuery to change some data in MS SQL database, and strangerly some of them gone through, but certain records won't allow me to change (or only be changed at another time, another day), and the cursor is just hanging there forever until I close the application, what is the causes it hangs? Is this something with Record locking? Should I block all users first ? or else what should I do?
Thanks
 
I assume you are working on a live database with a front-end app you didn't write. If so, the app is probably locking tables during database interaction. So yes, schedule a time to test your query when no users are logged into the system.

Krickles | 1.6180

 
Hi Kricles,
I think you are right, but since I can not tell if the record or table or database is locked (I think the set up is record locking only), it is bugging me. I want to find out if the record is locked and so I will avoid it and update another record. Is there any command to check which record or table is locked?
Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top