View Single Post

   
  #2 (permalink)  
Old 02-28-2008, 08:54 AM
strawberry
 
Posts: n/a
Default Re: Duplicate collum.

Yes

See http://dev.mysql.com/doc/refman/5.0/en/update.html for the syntax

Kasper K wrote:
> Hey NG!
>
> I have a table like this:
>
> +-----+----------+----------+
> | id | value_uk | value_dk |
> +-----+----------+----------+
> | 1 | hello | (null) |
> +-----+----------+----------+
> 1 row in set
>
> can i duplicate the value_uk collum so it throws all the values into
> value_dk collum, ofcourse in same id row?
>
>
> Regards,
> Kasper K.


Reply With Quote