When a large amount of data is MSSQL, saving changes after indexing or adding fields----time-out------

Source: Internet
Author: User
Tags create index mssql

Generally we like to use the database Manager UI to make changes to the data table structure, and then naturally place the "save" button to save, but when the amount of data is relatively large, the use of this trick will often appear "Cannot create INDEX" IX_ index name. The timeout period has expired. The time-out elapses before the operation completes or the server is not responding. "This error. At a loss, Waxman Zhang's article http://www.cnblogs.com/waxdoll/archive/2006/03/24/357972.html, after the comments gave me guidance. Thank!

It's easy to sort out the specifics, but when no one teaches me to do this, it's only despair:

In changing the data volume of the table data structure, do not click the "Save" button, but the table structure edit box to the left of the right-click = = = "Select Generate Change Script", then out of the Text dialog box, the contents of the full selection and copy, and close the table, choose not to save, right click on the table belongs to the database Ctrl + V then glue the newly copied script in and run. This will never pop out of the hint, if the amount of data is quite large, we just need to wait patiently!

Reprint Address: http://blog.csdn.net/cpcpc/article/details/6278537

When a large amount of data is MSSQL, saving changes after indexing or adding fields----time-out------

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.