Shekhar Saxena's Blog For SQL Server
FAQ's Discussion News Technology SQL Server Programming Administration
Wednesday, April 19, 2006
How to replace substring in given string!!
Do it like this:-
THIS is to show how a string can be replaced by new text in the column.
UPDATE TABLE_NAME
SET COLUMN_NAME = REPLACE(COLUMN_NAME,'OLDTEXT','NEWTEXT')
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment