How to import ".mdb" files into SQL Server 2008?
-
2009年3月13日 上午 04:57
Assuming it can be done (as I've been told):
How do I import ".mdb" (MS Access / OleDb) files (specifically, Northwind sample database files) into SQL Server 2008 (Express with Advanced Features)?
所有回覆
-
2009年3月13日 下午 03:08
Using SSIS, Bob. You'll create a package in BIDS using the OLEDB connection manager and map the data into wherever you want it to go. See also: http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/710cacdd-636f-473d-af69-d28b656a9851/ and other threads in the SSIS forum.
There's also the SQL Server Import and Export Wizard (but I haven't tried this for years):
- Open SSMS.
- Create a new empty database.
- Right-click the database in the Object Explorer.
- Select Tasks | Import Data... from the context menu.
- Change the data source to Microsoft Access.
- Browse for the file name.
- Click Next...
- That's where my memory starts to get fuzzy. ;-)
It would be easier, though, to use the T-SQL scripts @ Code Gallery to create Northwind on your instance: http://code.msdn.microsoft.com/northwind
David Reed - MSFT - Microsoft Certified Architect|SQL Server - http://blogs.msdn.com/reedme/- 已標示為解答 David Reed - Glacier Peak 2009年3月13日 下午 03:08
-
2009年3月26日 上午 09:54
Hi there, as for importing .mdb files into SQL 2008, I've noticed a MS file converstion utility http://www.microsoft.com/downloads/details.aspx?FamilyID=133b59c2-c89c-4641-bebb-6d04476ec1ba&DisplayLang=en or for SQL 2005 http://www.microsoft.com/downloads/details.aspx?FamilyID=4ecd1e67-c64e-49e6-821e-c4d83d9d5fed&DisplayLang=en
Rich
Rich- 已標示為解答 David Reed - Glacier Peak 2009年3月26日 下午 04:49

