0

我有一个包含 50 多个表和许多触发器的数据库。现在,我无法使用启用触发器的 Sql Server Management Studio 生成脚本。

每当我尝试使用触发器生成脚本时,都会出现内存不足异常。不知道这种错误是如何在 Microsoft 产品中持续存在的,但这确实让我和我的客户感到恼火。

这是我收到的错误消息:

System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at Microsoft.SqlServer.Management.SqlScriptPublish.GeneratePublishPage.worker_DoWork(Object sender, DoWorkEventArgs e) at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e) at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
4

1 回答 1

0

只需转到 YourDB -> properties ->options 选项卡更改恢复模型,然后将恢复模型更改为简单

在此处输入图像描述

于 2015-05-01T05:15:03.207 回答