Copying from SQL Server database to Access and Vice versa

Joined
Jun 9, 2011
Messages
1
Reaction score
0
I know there are a lot of posts on this topic out there but I have not found a satisfactory solution so I'm asking for ideas.

I need to transfer data from one database to another. Sometimes the transfer is from SQL Server to Access and other times the transfer would be Access to SQL Server.

This would be a routine transfer of data in several (10 or more depending on the transfer type) different tables and the fields do NOT match so I would like to be able to do this via SQL strings that would be stored either in a file or database and not have to hardcode any field names in code.

I need to be able to do a "not in" query so as not to append records that are already in the target table.

Is there a way to query data using SQL from one data connection to another? Any sample code would be much appreciated.

Thanks
cb
 

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