Groups | Blog | Home
all groups > sql server (alternate) > july 2004 >

sql server (alternate) : export (from mdb)-> import (to MS Sql server)


BUSHII
7/14/2004 8:58:10 PM
I have big problem.

In database MyDB.mdb I have table for example: ORDERS with colums:
- Id int
- Name varchar(20)

Also I create same table in SQL Server 2k.
I can manualy export this data from mdb database to SQL Server. But I want
to make this more automatic.

Is is possible? To import automaticaly data from mdb format to table in SQL
Server 2000?

please, help me :)

best regards
Piotr Leib

ps.
sorry for my terrible english language

sql NO[at]SPAM hayes.ch
7/15/2004 2:29:57 AM
[quoted text, click to view]

Have you looked at DTS? It can move data directly between different
data sources. To get started quickly, you can use the "Import and
Export Data" option in the start menu. Another possibility is to
create a linked server from MSSQL to the Access DB, and then simply
INSERT...SELECT... directly - see "Linked Servers" in Books Online.
Finally, if you can export to a flat file from Access, then you can
import that file with bcp.exe or DTS.

Oscar Santiesteban Jr.
7/16/2004 1:42:30 AM
I just create an ODBC connection to this database server and MS Access can
export directly to ODBC. It even will create the tables for you.

Oscar...


[quoted text, click to view]

AddThis Social Bookmark Button