Does anyone know how to import an Access db to SQL.
I need to do this programmatically.
The user selects the path to the Access.mdb clicks a button and the Access data and schema are imported to a SQL db.
I can do SQL to SQL with DTS.TransferObjectsTask2 and it works perfectly but I need to be able to do Access to SQL.
Thanks
You can do it in DTS package or SSIS package just select Access database in dts and ODBC data source in SSIS package. You can also use .Net and connect to Access using ODBC set of database objects and next save results into SQL using SQL objects you can use Dataset to store your tables or just read from ODBC and save into SQL
Thanks
No comments:
Post a Comment