0

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?

Paul Rowland
  • 8,244
  • 12
  • 55
  • 76
Saturn K
  • 2,705
  • 4
  • 26
  • 38

1 Answers1

1

convert your text and xml columns to varchar(max)

Tigran
  • 872
  • 1
  • 9
  • 25
  • 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 Apr 20 '10 at 23:12