?
Solved

MDB (Access) to MDF (SQL)

Posted on 2007-04-03
7
Medium Priority
?
4,643 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 1000 total points
ID: 18842405
Try Tools|Database Utilities|Upsizing Wizard...
0
 
LVL 8

Assisted Solution

by:Julianva
Julianva earned 1000 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
Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

 
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
It is possible to export the data of a SQL Table in SSMS and generate INSERT statements. It's neatly tucked away in the generate scripts option of a database.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Suggested Courses

770 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