Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Insert the same column data to another column of the same table 2

Status
Not open for further replies.

cesark

Programmer
Joined
Dec 20, 2003
Messages
621
Hi there,

How can I insert in a column of a table the same data that another column has?

For example: From 'Orders' table, update 'telephone_contact' column with data from 'telephone' column.

Thanks
 
Try this:

Code:
update   Orders
set      telephone_contact = telephone

Best Regards,
AA
 
Ok, that' s fine!

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top