Gossamer Forum
Home : Products : Gossamer Links : Discussions :

SQL Command for Links SQL

Quote Reply
SQL Command for Links SQL
Hi-

I need to change part of the name on all of my several hundred categories, and I've been trying to do it through an SQL command, but have had no luck. Does anyone know if it's possible to replace the string "xyz" in the Category table Name field with "abc" through an SQL command?

I tried:

Update Category
REPLACE (Name, 'xyz', 'abc')

But that doesn't seem to work. If anyone has any ideas, they would be greatly appreciated!

-FrankM
Quote Reply
Re: [FrankM] SQL Command for Links SQL In reply to
UPDATE Category SET Name = REPLACE (Name, 'xyz', 'abc')

Last edited by:

Paul: Sep 29, 2002, 2:05 PM
Quote Reply
Re: [Paul] SQL Command for Links SQL In reply to
Paul,

Thanks very much, that worked perfectly. I appreciate your help.

--FrankM