sql2005 restore an extra-long SQL script to restore a large script file

Source: Internet
Author: User
Original: sql2005 restore extra-long SQL scripts, restore oversized script files

From the outside of the database with export scripts exported to the way, 280M look, the guide is exported, but in the native execution of SQL script, is directly out of memory, before the execution of 60M script did not have this problem, Double-click to open the. SQL script file, and then execute it, now the main is this file is too big, 280M, on the error, the back of Google, finally found the answer, using sqlcmd command, can complete this work, specifically, see Microsoft's instructions,
See below:



The above Panderman\sa I copied directly from the database server name, but always error, say what sqlcmd SQL Network interface: Error locating the specified server/instance [ XFFFFFFFF]. Think of the next, look at a name to try, the results replaced with LOCALHOST\SA is right, I screw

sql2005 restore an extra-long SQL script to restore a large script file

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.