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!

Table locked??

Status
Not open for further replies.

aas1611

Programmer
Dec 14, 2001
184
DE
I tried to UPDATE and INSERT into a table, but it seems like the table is locked or something. When I execute this two commands, it just hang. But it'doing fine on SELECT.

Any idea why does it happen and how to solve this?
 
1. Do you have privileges to write to a table?
2. How big are your indexes? If you have very big index than it take some time to insert or update whole table.
3. Does it happen at single statement or at multiple insert or updates?

Via-Net - web directory
 
It turns out to be a cumulative of INSERT and/or UPDATES commands that got locked, for some reason. I ended these commands mannually, and now it runs again.

I should work on my script now, that causes the locking (jammed).

Thanks anyway!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top