PrepareTableForFaking无法删除索引

时间:2017-08-14 20:45:28

标签: tsql tsqlt

(完全披露,虽然我是一个相当有经验的.NET开发人员,t-sql对我来说仍然是新手。)

我正试图在一个相当庞大的数据库上实现tSQLt,有10年的数据,而且我在路障后遇到了障碍。

首先,问题就是SchemaBinding,它引导我到这里:http://tech.4pi.si/2015/01/tsqlt-faketable-fails-with-error-cannot.html

现在已经到位了,我得到的错误是:

(Error) Cannot drop the index 'indexName', because it does not exist or you do not have permission.

我已经确认索引确实存在,而且我很确定我对本地实例有权限,这让我觉得它可能与此类似:An explicit DROP INDEX is not allowed even when the constraint is dropped

您是否知道伪造Schema绑定表的解决方案?是否有可能使这项工作?我只是SOL吗?

感谢。

0 个答案:

没有答案
相关问题