Can I use "INSERT INTO" to transfer data from one table to another table?

S

Sean

Hi All,

Both of the table have the same structure. They are the linked table
(connected to SQL Server) too.

Code Example:
DoCmd.RunSQL "INSERT INTO dbo_MSTProduct SELECT * FROM MSTProduct WHERE
IsDirty=-1;"

Can this work?

Thanks!

Best regards,
Sean
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top