Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Replace a Word in a string 1

Status
Not open for further replies.

AndrewWiggins99

Programmer
Jul 30, 2014
12
0
0
CA
How do I replace a specific word in a string using SQL

Example:

This is a test for school.

Replace the 'TEST' with 'BOOK' - This is a BOOK for school.
 
REPLACE('This is a test for school',' test ',' BOOK ')

Bill
Lead Application Developer
New York State, USA
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top