Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

Difference between Stuff and Partial update clause write Expand / Collapse
Posted Thursday, July 30, 2009 11:29 PM


Group: General Forum Members
Last Login: Saturday, February 13, 2010 2:23 AM
Points: 129, Visits: 236
Can any body tell me the main difference between the partial update clause WRITE and the STUFF() function.

Post #762901
Posted Friday, July 31, 2009 8:08 PM



Group: General Forum Members
Last Login: Today @ 8:11 PM
Points: 39,669, Visits: 36,801
Yes... one works on the TEXT datatype and the other doesn't. Please refer to Books Online for details.... Books Online comes free with SQL Server.

--Jeff Moden
"RBAR is pronounced "ree-bar" and is a "Modenism" for "Row-By-Agonizing-Row".

First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column."

(play on words) "Just because you CAN do something in T-SQL, doesn't mean you SHOULDN'T." --22 Aug 2013

Favorite Quotes:
"Has anyone ever told you that a query you have written runs too fast?" - Dwain Camps - 6 Mar 2014

Helpful Links:
How to post code problems
How to post performance problems
Post #763486
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse