views:

26

answers:

1

I get an exception when I "Select * from deleted" in a clr trigger in SQL Server 2008. Is there anyway to be able to access xml/text columns from the deleted and inserted tables in a trigger?

+1  A: 

convert your text and xml columns to varchar(max)

Tigran
sorry should have been more descriptive. what you want can't be done. so best solution is to convert the xml column to varchar. this is a limitation of the system.
Tigran