Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 how to update a column of type text in a table?

Author  Topic 

gagani
Posting Yak Master

112 Posts

Posted - 2013-06-19 : 11:29:29
could anyone write a query to update a column of type text in a table?

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-06-19 : 11:34:40
you need to use UPDATETEXT or WRITETEXT for that

Updatetext
http://msdn.microsoft.com/en-us/library/ms189466.aspx

Writetext
http://msdn.microsoft.com/en-us/library/ms186838.aspx

Also please note one more thing

text,ntext etc is deprecated so you should not be using them for any new development. you should be using BLOB types like varchar(max),nvarchar(max) instead

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page
   

- Advertisement -