How do you import a large MS SQL .sql file?

前端 未结 11 1447
心在旅途
心在旅途 2020-11-28 00:20

I use RedGate SQL data compare and generated a .sql file, so I could run it on my local machine. But the problem is that the file is over 300mb, which means I can\'t do copy

11条回答
  •  时光说笑
    2020-11-28 00:52

    Run it at the command line with osql, see here:

    http://metrix.fcny.org/wiki/display/dev/How+to+execute+a+.SQL+script+using+OSQL

提交回复
热议问题