Question : How to append data from a varchar column to a text column

I have a varchar(1000) column with data that I need to append to a text column in the same table.  How do I do it?

I have tried

UPDATE    Person
SET              Comments = Comments + ' - ' + Web


but that gives me the 'invalid operator for data type' error.  I tried ampersands as well.

Answer : How to append data from a varchar column to a text column

you cannot "append" to TEXT fields... with UPDATE, you need UPDATETEXT:
http://technet.microsoft.com/en-us/library/ms189466.aspx

will not be as easy as that...
Random Solutions  
 
programming4us programming4us