Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6986033
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:45:27+00:00 2026-05-27T18:45:27+00:00

When I right-click on a table in SQL Server Management Studio and choose ‘Edit

  • 0

When I right-click on a table in SQL Server Management Studio and choose ‘Edit top 200 rows’, at what point, if ever, would the data that I’m looking at be locked?

A colleague of mine stated that when viewing data in this way, the data rows can be locked (I think when he said if you put a cursor on a row and start editing data).

Is this the only time the data can be locked in this context?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T18:45:27+00:00Added an answer on May 27, 2026 at 6:45 pm

    It’s not true. Run this script in one window (and leave it running):

    create table Tx (
        ID int not null,
        Val1 varchar(20) not null
    )
    go
    insert into Tx (ID,Val1)
    select 1,'abc'
    go
    set nocount on
    while 1=1
    begin
        update Tx set Val1 = CASE WHEN Val1='abc' then 'def' else 'abc' end
        RAISERROR('Updated',10,1) WITH NOWAIT
        WAITFOR DELAY '00:00:05'
    end
    

    Every 5 seconds, it flips the value of the Val1 column, and prints Updated in the messages tab (assuming you’re set to “results in grid”).

    Then, in another instance of SSMS, open the Tx table and start editing the single row in there. Observe that the script continues to perform updates.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In SQL Server 2008 Management Studio, when I right click on a database table
In SQL Server 2008 R2 Management Studio, if I right-click on an object inside
In Microsoft SQL 2008 Enterprise manager, when you right click a table to open
I have a database that I am viewing with SQL Server Management Studio 2008
Is it possible to change the default templates in SQL Server Management Studio? For
I am using SQL Server 2008 Express and Sql Server Management Studio 2008. I
When I right click on a default constraint and I ask SQL Server to
In SQL Server, what is the difference between the following two- Right click on
Using SQL Server Management Studio 2008, why can't I see unique index ( not
When I right-click the source code of aspx.cs code under Visual Studio 2008, I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.