Solved

MDB (Access) to MDF (SQL)

Posted on 2007-04-03
7
4,266 Views
Last Modified: 2008-04-13
How I export a MDB (Access 2002) File to a MDF (SQL) File ?
Pleace... "For Dummies"

I have: VS2005, SQL Server 2000 and SQL Server 2005 (Express)
0
Comment
Question by:darcosys
7 Comments
 
LVL 9

Accepted Solution

by:
TheSloath earned 250 total points
Comment Utility
Try Tools|Database Utilities|Upsizing Wizard...
0
 
LVL 8

Assisted Solution

by:Julianva
Julianva earned 250 total points
Comment Utility
create a new database on SQL 2000. then use access export wizard to export all the tables to the new database on SQL.
0
 
LVL 1

Author Comment

by:darcosys
Comment Utility
And now?
How convert the SQL Serve database in a MDF File?
0
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 1

Author Comment

by:darcosys
Comment Utility
Sorry   :)

I find the MDF in C:\Program Files\Microsoft SQL Server\MSSQL\Data directory

Thanks.


0
 
LVL 38

Expert Comment

by:Jim P.
Comment Utility
You can't just open an mdb as an mdf -- you have to import it.

The mdf (Master Data File) and ldf (Log Data Files) are the files used by SQL as the data files. You can't just copy and paste them like you do an Access DB and expect them to work.

You can either use the upsizing wizard in Access to create a new DB and import the data. Or from the other side -- It wiould be the ETL? (formerly DTS) to import into a blank DB.
0
 
LVL 1

Author Comment

by:darcosys
Comment Utility
mmm....

[The mdf (Master Data File) and ldf (Log Data Files) are the files used by SQL as the data files. You can't just copy and paste them like you do an Access DB and expect them to work.]

jimpen,  I copied and pasted the file of the directory C:\Program Files\Microsoft SQL Server\MSSQL\Data to the /App_Data directory and I erased it of the SQL Server and worked perfectly.
0
 
LVL 38

Expert Comment

by:Jim P.
Comment Utility
Then SQL2K5 must have some self healing functionality. In SQL 2K you have to do detach/attaches to move the database locations.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Suggested Solutions

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now