Yayba

执行过大的SQL脚本会出现 "Insufficient memory to continue the execution of the program" 内存不足的错误,导致SQL脚本无法执行。

可以使用命令行的方式执行SQL脚本:

以管理员身份运行命令行,输入:

SQLCMD -d database -i filename.sql

database代表数据库名,filename.sql 代表脚本文件。 即可执行。

http://freefeast.info/general-it-articles/run-a-large-sql-script-in-ms-sql-server-solution-insufficient-memory-to-continue-the-execution-of-the-program/

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-08-06
  • 2022-12-23
  • 2019-11-19
  • 2021-12-10
  • 2021-12-05
  • 2021-12-08
  • 2022-12-23
猜你喜欢
  • 2021-07-18
  • 2022-03-03
  • 2022-12-23
  • 2021-12-01
  • 2022-12-23
  • 2021-03-30
  • 2021-12-04
相关资源
相似解决方案