无法在“inserted”和“deleted”表中使用text,ntext或image列

时间:2012-02-08 14:00:03

标签: sql sql-server sql-server-2005 triggers

我尝试将ntext转换为nvarchar,但我继续获取Cannot use text, ntext, or image columns in the 'inserted' and 'deleted' tables.

CAST([Q Comments] As NVARCHAR(MAX))

有没有办法将/ cast转换为nvarchar以避免该错误?

1 个答案:

答案 0 :(得分:2)

没有。

此表单无法访问

textntextimage

如果必须,请从inserted中选择主键,然后在实际基础表中查找值。

相关问题