How to Import MDF File to Microsoft Access

Step 1

Go to start button all Programs -> Microsoft SQL SERVER 2008 -> SQL SERVER Management Studio -> Right click -> Run as Administrator.

Step 2

Click on run as administrator. You will see a popup box asking for setup with two buttons YES or NO. Click on YES. After clicking on YES, the below window will appear.

Server Type-Database engine
Server Name- Your PC Name (Eample-GOURI-PC)
Authentication-If you choose Windows authentication, there is no need for login id and password and click on connect

If you choose SQL SERVER Authentication, give login id and password details and click on connect.

Step 3

After connection has been established, the below window will appear. Right click on Databases and click attach.

Step 4

After clicking attach, you will see the following window:

Step 5

Click on ADD. You will see the below screen. Choose your respective database which you want to attach, then Click OK.

Step 6

After clicking OK, select database which you have added before, then click OK. You are done with copying MDF file to SQL SERVER.

Converting MDF File To Microsoft Access
Step 1

Go to start, select control panel.

Step 2

Select Administrative Tools.

Step 3

Once you select administrative tools, the below window will appear. Double click on Data Source(ODBC).

Step 4

The below shown window will appear:

Step 5

Click on ADD button on left. You will see list of drivers available, select SQL SERVER and click finish.

Step 6

After clicking finish, one window will appear.

Step 7

Give any random NAME and remember that name for future use. Select your server name from dropdownlist(Example- GOURI-PC).

Step 8

Click Next Button.

Step 9

After clicking Next Button, the below window will appear.

If you choose windows NT Authentication, then simply click next.

If you choose SQL SERVER authentication, give LOGIN ID and PASSWORD, then click next.

Step 10

After clicking next below, choose change the default database to checkbox, then choose the database which you want to convert and click NEXT.

Step 11

Uncheck the Perform translation for character data and click on FINISH.

Step 12

Click on Test Data source.

Step 13

If you see TESTS COMPLETED SUCCESSFULLY, click on OK.

Step 14

Click on OK. One window will appear. Select the name which you have given in Step 7. Then click on OK.

Step 15

All programs -> Microsoft Office -> Microsoft Access -> Click on NEW.

Step 16

It‘s your choice to give name, then click create on left.

Step 17

Select EXTERNAL Data from Menu Bar.

Step 18

Select More -> Click on ODBC Database.

Step 19

On clicking ODBC Database, the below window will appear, simply click OK.

Step 20

After clicking OK, the small window appears. Select Machine Data Source -> Select the data source name which you gave in step 7, then click on OK.

Step 21

After clicking Ok, databases list along with tables will appear. Select appropriate table which you want to convert to Access and click OK.

Step 22

After clicking OK, the below screen will appear. Click on CLOSE.

Step 23

After clicking close, your table which you have selected will display at the right side of Access page. Double click on table name, the table data will be displayed. You are done with conversion.

How to Import MDF File to Microsoft Access

时间: 2024-07-28 16:09:16

How to Import MDF File to Microsoft Access的相关文章

C# - Excel - Microsoft Access 数据库引擎找不到对象

我几乎要无语了,疯掉了,以为是office本身的问题,换了好多次office2007,安装又不顺利,换到了office2010,想想大部分应该兼容2007,所以用着office2010了. 甚至差点要放弃了,见到一个网友说用SQL去用Excel,正准备打算新接触东西.但是忽然看到我的 sql语句,突然想到"$"符号. 报错:An unhandled exception of type 'System.Data.OleDb.OleDbException' occurred in Syst

找不到Microsoft Access Driver(*.mdb)ODBC驱动程序的安装例程。请重新安装驱动(转)

原文转自 https://zhidao.baidu.com/question/151784704.html 按照教材创建的方法:"控制面板-管理工具-数据源(ODBC)",打开"ODBC数据源管理器"窗口,然后"添加",打开"创建新数据源"的窗口,最后选择Microsoft Access Driver(*.mdb)选项,往后等等... 不过我打开"ODBC数据源管理器"窗口,添加的时候却发现窗口中只有一个&

Microsoft Access、MySQL 以及 SQL Server 所使用的数据类型和范围。

Microsoft Access.MySQL 以及 SQL Server 所使用的数据类型和范围. Microsoft Access 数据类型 数据类型 描述 存储 Text 用于文本或文本与数字的组合.最多 255 个字符.   Memo Memo 用于更大数量的文本.最多存储 65,536 个字符. 注释:无法对 memo 字段进行排序.不过它们是可搜索的.   Byte 允许 0 到 255 的数字. 1 字节 Integer 允许介于 -32,768 到 32,767 之间的数字. 2

Microsoft Access Database Engine 2010 Redistributable Download

SQL Server 如需要导出类似Excel(*.xls.*.xlsx)格式的数据需要以来以下安装包 Microsoft Access 2010 数据库引擎可再发行程序包 此下载将安装一系列组件,帮助在现有的 Microsoft Office 文件(例如 Microsoft Office Access 2010(*.mdb 和 *.accdb)文件和 Microsoft Office Excel 2010(*.xls.*.xlsx 和 *.xlsb)文件)与其他数据源(例如 Microsoft

在64位Win7操作系统中安装Microsoft Access Database Engine的解决方案

现在的Win7系统中安装的一般都是32位的Office,因为微软推荐使用32位的Office,兼容性更强,稳定性更好.在使用Access作为数据库的时候,C#操作Access,如果Access是accdb,那么一切会很顺利,Win7系统中有访问accdb的相应的组件,使用C#调用就可以.如果是mdb,以往在XP上是使用Jet方式访问,而在Win7上已经不推荐使用Jet, 因为Win7系统本身就不带Jet的组件.从而出现了一个替代品Microsoft Access Engine,通过ACE的方式访

安装SQL2008时遇到"未能加载文件或"file:///d:microsoft..sql.chainer.packagedata.dll"或它的某个依赖项

安装SQL2008时遇到"未能加载文件或"file:///d:microsoft..sql.chainer.packagedata.dll"或它的某个依赖项,如下图所示 原因:SQL2008的安装路径过长. 解决:把SQL2008放到D盘或者E盘的根目录下再安装.

Microsoft Access Engine

在64位Win7操作系统中安装Microsoft Access Engine的解决方案 原创 2014年01月06日 19:33:56 44847 现在的Win7系统中安装的一般都是32位的Office,因为微软推荐使用32位的Office,兼容性更强,稳定性更好.在使用Access作为数据库的时候,C#操作Access,如果Access是accdb,那么一切会很顺利,Win7系统中有访问accdb的相应的组件,使用C#调用就可以.如果是mdb,以往在XP上是使用Jet方式访问,而在Win7上已

Microsoft Access数据库操作类(C#)

博文介绍的Microsoft Access数据库操作类是C#语言的,可实现对Microsoft Access数据库的增删改查询等操作.并且该操作类可实现对图片的存储,博文的最后附上如何将Image图片转换为byte[]数组类型,以及如何将byte[]数组类型转换为Image图片. 博文中会贴出该类的下载地址,可以直接下载使用. 注:操作Microsoft Access数据库需要安装Microsoft Office Access DataBase Engine,可以直接去微软的官网下载. 1. A

OleDbType 枚举类型与 Microsoft Access 数据类型

有时候客户不一定会让我们挑要用什么当数据库 毕竟开发的程序是客户的 环境也是客户提供的 有时候客户不一定会让我们挑要用什么当数据库 毕竟开发的程序是客户的 环境也是客户提供的 还有 . .. ... 付钱的是老大!! cloudio曾经为了使用access当数据库时被绊了一会 因为sql跟access的数据型态不一样 为了怕临时要用的时候没数据 我看我还是把他先贴到这里吧 有需要的人也可以参考 存取类型名称 数据库数据类型 OLE DB 类型 . NET Framework 类型 成员名称 ]