首页 > 代码库 > Script failed for StoredProcedure '.........' Index was outside the bounds of the array.(Microsoft.SqlServer.Smo)

Script failed for StoredProcedure '.........' Index was outside the bounds of the array.(Microsoft.SqlServer.Smo)

本地数据库远程登陆数据库服务器,右击 存储过程 ,报错如下:

技术分享

原因:本地数据库版本 2008 R2,但服务器数据库版本 2012 ,版本不一致导致的。

Script failed for StoredProcedure '.........' Index was outside the bounds of the array.(Microsoft.SqlServer.Smo)