alter column

  • Hi guys,

    I'm trying to populate a column in a table with values from another column on the same table i.e. i have two columns namely column A and column B respectively, I want to populate column B with values from column A on the same table. How can i achieve this? Your prompt response is greatly appreciated.

    Cheers

    M

  • Are they the same type??

    Update table set colb = cola

  • luckily yes they are, and it worked thanks

  • HTH.

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply