Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
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.
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 thatUpdatetexthttp://msdn.microsoft.com/en-us/library/ms189466.aspxWritetexthttp://msdn.microsoft.com/en-us/library/ms186838.aspxAlso please note one more thingtext,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 MVPhttp://visakhm.blogspot.com/https://www.facebook.com/VmBlogs