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

Move field value to another via SQL

Quote Reply
Move field value to another via SQL
I have just another field named Hits2; as the first function in builld.cgi, i want to move all values in Hits to Hits2. May you tell me if there is an SQL-Statement for that?
Robert

Quote Reply
Re: Move field value to another via SQL In reply to
In the SQL Monitor:

UPDATE Links Set Hits2=Hits

Should do it.

http://www.postcards.com
FAQ: http://www.postcards.com/FAQ/LinkSQL/