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