SQL Timeout period expired adding column to table

Posted on 2007-10-15
Last Modified: 2008-03-26
I am trying to add a column to an existing (very large) table.  I am doing this in SQL SERVER MANAGEMENT STUDIO.  I get the following message:

'Items' table
- Unable to modify table.  
Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.

How can I extend the timeout so this can complete???  I would like to do this in Management Studio if I can.

Question by:MGothelf
    LVL 16

    Expert Comment

    LVL 5

    Expert Comment

    If your database is getting a lot of activity (via web server or the like) the table modification is going wait for those to run.  You can take your database offline (stopping all of those connection) and then restart it.  That should give you a few seconds to run your modification script.


    Accepted Solution

    No solution was provided.  

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    There are some very powerful Data Management Views (DMV's) introduced with SQL 2005. The two in particular that we are going to discuss are sys.dm_db_index_usage_stats and sys.dm_db_index_operational_stats.   Recently, I was involved in a discu…
    In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now