Copy data from a table to another one has different structure

Posted by Kernel on Stack Overflow See other posts from Stack Overflow or by Kernel
Published on 2010-03-29T05:58:13Z Indexed on 2010/03/29 6:03 UTC
Read the original article Hit count: 140

Filed under:

I have two tables with different structure:

TableSource: intId(not null), txtSummary, strDetail

TableDesc: guidId(not null), guidFK(not null), Name, Detail

I want to migrate data from two fields of tableSource(txtSummary, strDetail) to two fields of tableDesc(Name, Detail).

For simply,suppose that guidId and guidFK are auto generation.

I'v tried but not success. Could anyone help me?

© Stack Overflow or respective owner

Related posts about migrate