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 9084999
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T21:08:21+00:00 2026-06-16T21:08:21+00:00

We are using SQL Server 2008. We have an Existing database and it was

  • 0

We are using SQL Server 2008. We have an Existing database and it was required to ADD a new COLUMN to one of the Table which has 2700 rows only but one of its column is of type VARCHAR(8000). When i try to add new column (CHAR(1) NULL) by using ALTER table command, it takes too much time!! it took 5 minutes and the command was still running to i stopped the command.
Below is the command, i was trying to add new column:

ALTER TABLE myTable Add ColumnName CHAR(1) NULL
  1. Can someone help me to understand that How the SQL Server handles
    the ALTER Table command? what happens exactly?
  2. Why it takes so much time to Add new column

EDIT:

  1. What is the effect of Table size on ALTER Command?
  • 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-06-16T21:08:22+00:00Added an answer on June 16, 2026 at 9:08 pm

    Altering a table requires a schema lock. Many other operations require the same lock too. After all, it wouldn’t make sense to add a column halfway a select statement.

    So a likely explanation is that a process had the table locked for 5 minutes. The ALTER then has to wait until it gets the lock itself.

    You can see blocked processes, and the blocking process, from the Activity Monitor in SQL Server Management Studio.

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

Sidebar

Related Questions

I'm using SQL Server 2008 and I have a table that has a 'Status'
I'm using SQL Server 2008 R2 and have a simple table with a column
Ok I'm using SQL Server 2008 and have a table field of type VARCHAR(MAX)
I'm using SQL Server 2008 and I have a table with three columns: Length
I am using T/SQL in SQL Server 2008 I have a table MyTable with
Using SQL Server 2008. I have multiple Locations which each contain multiple Departments which
I'm using SQL Server 2008. I have a table with x amount of rows.
I have a SQL server database design problem. I have an existing database table
I am using SQL Server 2008 and I have a database file (mydata.mdf) in
I'm using SQL Server 2008. I have a table with over 3 million records,

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.