Opening tables via SSMS right-click

  • Can anyone tell me if opening a table in SSMS via right-click > open table causes a table lock to be acquired and held?

    Thanks,

    Chris

  • yes it does; at a minimum, i followed your steps and got a shared lock on the table; you can check it yourself by doing as you described, and then in another window run sp_lock;

    as you start changing data, you can rerun sp_lock and see the lock types changing as you work and commit your data changes. i was getting a shared "IS" table lock during my testing.

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply