在SQL Server Management Studio中执行比较大的sql脚本,会报没有足够的内存继续执行程序 mscorlib的错误。
解决办法
使用sqlcmd执行
命令:
sqlcmd -S SERVERNAME -U USERNAME -P PASSWORD -i filename.sql
相关阅读
- Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found or is out of date 的解决办法
- Navicat for MySQL连接 MySQL 8.0.18 出现1251- Client does not support authentication protocol requested by server的解决办法
- Error response from daemon: Get “https://registry-1.docker.io/v2/”: proxyconnect tcp: dial tcp 127.0.0.1:33210: connect: connection refused 的解决办法
