Click here to Skip to main content
15,890,527 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi!

I want to export data in all tables from SQL Server database to Microsoft Access database. And again, import data in all tables from the Microsoft Access database to SQL Server vice versa.

Thank You!
Posted
Comments
dan!sh 19-May-14 0:39am    
Do you want to export/import just data or schema as well?
Wyne Ci 19-May-14 1:09am    
Both data and schema.
When export sql to access, it may be a new access file.

1 solution

C# is not the correct way to do this, I would suggest either a SQL job or splitting the process to 2 operations, scripting the schema and passing the data.

Are you processing random tables?

Does the access database exists before transferring?

Do the tables exist in 1 or both database?

Is this repeatable (then why is the schema not already in either target)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900