DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SQL
mssql replace first occurrence
SELECT STUFF(col, CHARINDEX('substring', col), LEN('substring'), 'replacement') FROM #temp
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#mssql
#replace
#occurrence
ADD COMMENT
Topic
COMMENT
Name
2+5 =
Submit