I have a very small table in my database with only one row in it. When I do select statement on it, my query always times out. I have tried following things:
- Conecting/disconnecting from the database server
- doing select * from table(nolock)- which works fine and also proves that there is some lock on the table
However, How can I remove the lock from the table and how can I know what is holding the table captive? Also, I am not sure how does this lock survive the disconnection from the database server?