2014-08-30 300 views
2

从c#保存/更新表时收到此错误消息。SQL Server错误'找不到数据类型'

列,参数或变量#6:无法找到数据类型MyDataType。

User defined data-type MyDataType is numeric(18,2)

一切都重新安装在已安装的SQL Server 2008机器之前的工作确定。

已经尝试设置compatibility_level,但问题仍然存在。

回答

2

尝试re-create the type

create type MyDataType from numeric(18,2) not null 
+0

我有很多依赖于这个用户定义类型,无法重新创建它。 – danrt 2014-08-31 09:16:22