0

我查看了无数其他堆栈帖子和随机博客,但找不到此设置的位置。

我在 SQL Server 2017 上有一个数据库,我想更改排序规则。因为我们使用的是模式绑定对象,所以我们不能只做一个,ALTER DATABASE MyDatabase COLLATE MyCollation;所以我们需要别的东西。我尝试按照此博客文章中的指南建议备份键和索引,删除它们,重新创建数据库,导入键和索引,但是由于我对游标和变量的来源不够了解,所以@table我继续前进从那个方法。

我目前的想法是,如果我可以从必要的表中导出必要的数据,创建一个新数据库,然后使用正确的排序规则将数据重新导入新数据库,我应该设置。我正在使用 SSMS 并使用 Tasks > Export Data... 以 SQL Server Native Client 11.0 作为源和目标从数据库中获取数据。当此向导运行时,第一次运行只会给出 Status = Success。第二个给出验证警告。第三次运行抛出验证错误:

Warning 0x80049304: Data Flow Task 1: Warning: Could not open global shared memory to communicate with performance DLL; 
data flow performance counters are not available.  
To resolve, run this package as an administrator, or on the system's console.
 (SQL Server Import and Export Wizard)

在此处输入图像描述

问题是,我使用 SA 帐户登录。复制行完成警告说:

Warning 0x80019002: Data Flow Task 3: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED.  The Execution method succeeded, but the number of errors raised (1) reached the maximum allowed (1); resulting in failure. 
This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors.
 (SQL Server Import and Export Wizard)

目标/目标数据库仅包含一些表,可能是因为它在完成之前达到了最大错误计数。

我的问题是,我在哪里可以增加MaximumErrorCount?

编辑: 似乎我不是唯一一个在 SSMS 中与数据导出/导入有类似问题的人

4

0 回答 0