Solved

MDB (Access) to MDF (SQL)

Posted on 2007-04-03
7
4,462 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 9

Accepted Solution

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

Assisted Solution

by:Julianva
Julianva earned 250 total points
ID: 18842615
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
ID: 18842645
And now?
How convert the SQL Serve database in a MDF File?
0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
LVL 1

Author Comment

by:darcosys
ID: 18842682
Sorry   :)

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

Thanks.


0
 
LVL 38

Expert Comment

by:Jim P.
ID: 18842732
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
ID: 18842918
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.
ID: 18843202
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.
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…

733 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