How can I copy data from one column to another in the same table?

Is it possible to copy data from column A to column B for all records in a table in SQL?


How about this

UPDATE table SET columnB = columnA;

This will update every row.


UPDATE table_name SET
    destination_column_name=orig_column_name
WHERE condition_if_necessary