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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Partial Update

Status
Not open for further replies.

KingMob

IS-IT--Management
Mar 22, 2001
14
GB
Hi,

I have a table filled with a large number of products and I wish to update part of the description field only, i.e. i do not want to replace the whole content of the description column - just a chunk of the text.

In effect this is a sort of find a replace action on a table column.

I know this is achievable using an ODBC link and Access but i would rather do it on the server - though I'm not even sure if this is possible so I would welcome any input.

Cheers

Craig

 
Executing
SELECT REPLACE("I love Microsoft","Microsoft","Unix")
Would Return
I love Unix
 
Spot on!

Many thanks for that - it'll be a real timesaver.

Craig
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top