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 @ 7:12 AM
Points: 42,047, Visits: 39,435
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."

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

Add to briefcase

Permissions Expand / Collapse