Home Database Mysql Tutorial Access与MS SQL Server数据库的相互转换

Access与MS SQL Server数据库的相互转换

Jun 07, 2016 pm 04:23 PM
access server database Convert

一、将Access 数据库数据移植转换为sql server 2000 第一步,开启SQLSERVER 2000服务管理,打开企业管理器,新建一个数据库,名称为Access数据转换; 第二步,运行导入和导出数据,打开DTS导入/导出向导。选择数据源时,有两种选择:Driver do Microsoft Acce

   一、将Access 数据库数据移植转换为sql server 2000

  第一步,开启SQLSERVER 2000服务管理,打开“企业管理器”,新建一个数据库,名称为“Access数据转换”;

  第二步,运行“导入和导出数据”,打开“DTS导入/导出向导”。选择数据源时,有两种选择:“Driver do Microsoft Access(*.mdb)”或“Microsoft Access”(前者所选是的ODBC驱动程序,后者则是微软提供的数据接口),下面作分别介绍:

  如果选择前者“Driver do Microsoft Access(*.mdb)”,需要新建“文件数据源”,选择安装数据源的驱动程序为“Driver do Microsoft Access(*.mdb)”,并保存此连接的文件数据源的名称为“db.dsn”。在弹出的“ODBC Microsoft Access安装”对话框中,选择确认要转换的源Access数据库后,返回选择“文件DSN”为“db.dsn”;若选择后者“Microsoft Access”,则相对简单,只需选择确认源Access数据库的路径即可。 第三步,选择目标数据库为“Access数据转换”,在“指定表复制或查询”中选择“从源数据库中复制表和视图”,然后选择审计相关的数据表进行导入/导 出操作。这样就把Access数据导入到SQL SERVER“Access数据转换”数据库中。

  二、将SQL Server 2000数据库数据移植转换到Access中

  第一步,打开ACCESS,新建一个数据库,命名为“SQL SERVER数据转换”;

  第二步,在“文件”菜单中打开“获取外部数据à导入”,在“导入”对话框中选择类型为“ODBC数据库()”,即打开“选择数据源”对话框;

  第三步,新建“文件数据源”,选择安装数据源的驱动程序为“SQL SERVER”,并保存此连接的文件数据源的名称为“Sql server.dsn”,即可打开“创建到SQL SERVER的新数据源”对话框,这将帮助建立一个能用于连接SQL SERVER的ODBC数据源。在此对话框中,选择被连接的SQL SERVER服务器的名称及登陆方式,并且在“更改默认的数据库”下拉列表中选择要进行数据转换的SQL SERVER数据库的名称,此后,,测试ODBC数据源是否连接成功,若是,即可进入“导入对象”对话框;

  第四步,在“导入对象”对话框的“表”选项卡中选择要导入到ACCESS中的SQL SERVER表,点击“确定”即可将SQL SERVER 2000中数据转换为ACCESS数据格式。

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

MySQL: Simple Concepts for Easy Learning MySQL: Simple Concepts for Easy Learning Apr 10, 2025 am 09:29 AM

MySQL is an open source relational database management system. 1) Create database and tables: Use the CREATEDATABASE and CREATETABLE commands. 2) Basic operations: INSERT, UPDATE, DELETE and SELECT. 3) Advanced operations: JOIN, subquery and transaction processing. 4) Debugging skills: Check syntax, data type and permissions. 5) Optimization suggestions: Use indexes, avoid SELECT* and use transactions.

What are the benefits of multithreading in c#? What are the benefits of multithreading in c#? Apr 03, 2025 pm 02:51 PM

The advantage of multithreading is that it can improve performance and resource utilization, especially for processing large amounts of data or performing time-consuming operations. It allows multiple tasks to be performed simultaneously, improving efficiency. However, too many threads can lead to performance degradation, so you need to carefully select the number of threads based on the number of CPU cores and task characteristics. In addition, multi-threaded programming involves challenges such as deadlock and race conditions, which need to be solved using synchronization mechanisms, and requires solid knowledge of concurrent programming, weighing the pros and cons and using them with caution.

How to use sql if statement How to use sql if statement Apr 09, 2025 pm 06:12 PM

SQL IF statements are used to conditionally execute SQL statements, with the syntax as: IF (condition) THEN {statement} ELSE {statement} END IF;. The condition can be any valid SQL expression, and if the condition is true, execute the THEN clause; if the condition is false, execute the ELSE clause. IF statements can be nested, allowing for more complex conditional checks.

MySQL: An Introduction to the World's Most Popular Database MySQL: An Introduction to the World's Most Popular Database Apr 12, 2025 am 12:18 AM

MySQL is an open source relational database management system, mainly used to store and retrieve data quickly and reliably. Its working principle includes client requests, query resolution, execution of queries and return results. Examples of usage include creating tables, inserting and querying data, and advanced features such as JOIN operations. Common errors involve SQL syntax, data types, and permissions, and optimization suggestions include the use of indexes, optimized queries, and partitioning of tables.

Unable to log in to mysql as root Unable to log in to mysql as root Apr 08, 2025 pm 04:54 PM

The main reasons why you cannot log in to MySQL as root are permission problems, configuration file errors, password inconsistent, socket file problems, or firewall interception. The solution includes: check whether the bind-address parameter in the configuration file is configured correctly. Check whether the root user permissions have been modified or deleted and reset. Verify that the password is accurate, including case and special characters. Check socket file permission settings and paths. Check that the firewall blocks connections to the MySQL server.

Why Use MySQL? Benefits and Advantages Why Use MySQL? Benefits and Advantages Apr 12, 2025 am 12:17 AM

MySQL is chosen for its performance, reliability, ease of use, and community support. 1.MySQL provides efficient data storage and retrieval functions, supporting multiple data types and advanced query operations. 2. Adopt client-server architecture and multiple storage engines to support transaction and query optimization. 3. Easy to use, supports a variety of operating systems and programming languages. 4. Have strong community support and provide rich resources and solutions.

How to solve the 'Network Error' caused by Vue Axios across domains How to solve the 'Network Error' caused by Vue Axios across domains Apr 07, 2025 pm 10:27 PM

Methods to solve the cross-domain problem of Vue Axios include: Configuring the CORS header on the server side using the Axios proxy using JSONP using WebSocket using the CORS plug-in

How to use Debian Apache logs to improve website performance How to use Debian Apache logs to improve website performance Apr 12, 2025 pm 11:36 PM

This article will explain how to improve website performance by analyzing Apache logs under the Debian system. 1. Log Analysis Basics Apache log records the detailed information of all HTTP requests, including IP address, timestamp, request URL, HTTP method and response code. In Debian systems, these logs are usually located in the /var/log/apache2/access.log and /var/log/apache2/error.log directories. Understanding the log structure is the first step in effective analysis. 2. Log analysis tool You can use a variety of tools to analyze Apache logs: Command line tools: grep, awk, sed and other command line tools.

See all articles