SQL Server 2005 DTS Alternative
Posted By : todd sharp Posted At : December 4, 2006 8:58 PM Posted In: SQL
10
I'm pretty sure this is my final SQL post today. Like all good free things, the new SQL Server Management Studio Express does not include any DTS-ish import/export support. Here's a quick workaround for importing data. I have an Access database on my machine that I want to copy some tables into my recently created SQL Server 2005 database. To do this without DTS, just create a new ODBC Datasource on your local machine and configure it to point to your SQL db. Then go into Access, pick your table and Export to your new ODBC datasource. Go over to your SQL db, refresh and you'll see the table. Of course you lose some of the DT (data transformation) parts of DTS - but at least you can get your tables over from other sources.



Can't remember exactly how but somewhere in the options I have got it to work. I found that if you still have SQL 2K enterprise manager installed use the DTS tool from this install as it worked a little better.
The DTS wizard is probably in the bin directory of the server.
Sorry I am not a little more useful..... my memory sucks.
I had a module. It was written from VB6.It's OK with SQL 2000.
Now, I can't use this module to import.
Do you have any solution to help me?
Thanks
To export data from MS SQL Server Express use Microsoft SQL Server Database Publishing Wizard:
http://www.microsoft.com/downloads/details.aspx?Fa...
It will display the list of all table inside the access database for you to choose which ones (or ALL) to upload into the SQL server.
Note:
It is easier to set up the Data Source entry to the SQL server database first.
I open my MS Access database, open up the table and choose Export from File memu. Then I just follow through with two important inputs for the SQL Server Driver that I select in one of the steps: Server= MySQLserver2005-which-I connect-to, Database=Mydatabase-that-I-created-before-hand-in-SQLServer2005. Then I choose a Datasource name (whatever name).
That is all about it. My large MS Access table show in new SQL Server database table perfectly.
Thanks again Todd.
David