Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

SQL Statements

Quote Reply
SQL Statements
I tried to do the following:

UPDATE Category set Meta_keywords = 'Test' where Meta_keywords = ''

Thatīs ok for all first level cats; but what should i do to change categories like cat1/cat2

Robert

Quote Reply
Re: SQL Statements In reply to
I'm not sure what you are asking.

You did not put a restriction on the UPDATE, and it should have set all Null Meta_Keywords to "Test" no matter what category they were in.


Quote Reply
Re: SQL Statements In reply to
???
I have
cars
toys
cars/porsche
toys/boys

With the UPDATE-Command i could set all keywords in the first level: cars and toys to test, but i didnt change toys/byos and cars/porsche.

Thatīs it.
I dont know why it doesnt do what i want.