Migrate from MS Access to SQL Server 2005 database MS AccessのSQL Server 2005データベースを移行するから

Posted on September 16, 2008 at 5:39 am 9月16日午前5時39で、 2008年に投稿

Recently, I had to migrate the data from an Access database to SQL Server 2005 because my database was getting too large for Access to handle.最近、私は、 AccessデータベースからSQL Server 2005にデータを移行する必要があったため、私のデータベースにもアクセスを処理するために大規模となった。 I decided that since it’sa fairly simple process, but something that many people might be doing, that I would write it up here as an article.私は決まっているのでこれはかなり単純なプロセスが、多くの人がすることになるかもしれないが、私はここの記事としてそれを書くだろう。

I’ve also written two other migration articles that you might be interested in:私も他の2つの移行に興味がある記事を書いている可能性があります: Migrating pictures from Flickr to Picasa PicasaにFlickrの写真を移行する andおよび migrate from iPhone to iPhone 3G iPhoneの3G iPhoneから移行する . Now back to Access to SQL.今すぐ後ろには、 SQLアクセスしてください。

First, you need to make sure you have SQL Server 2005 or SQL 2005 Express installed on your computer along with the SQL Server Management Studio.まず、あなたがしていることを確認する必要があるSQL Server 2005またはSQL 2005 Expressをお使いのコンピュータ上のSQL Server Management Studioをと一緒にインストールされています。 If so, you’re ready to export your Access database to SQL 2005.もしそうならば、あなたのAccessデータベースをSQL 2005にエクスポートする準備が整いました。

Transfer Access database to SQL Server 2005 SQL Server 2005への転送Accessデータベース

Open SQL Server Management Studio and connect to the database server you want to import your Access database into. SQL Server Management Studioを開くと、 Accessデータベースにインポートするデータベースサーバーに接続します。 Under Databases , right-click and choose New Database .データベースの下で 、右クリックし、 新規データベースを選択します。

new database sql 2005

Give it a name and configure the other settings as needed and click OK.名前と設定は、他の設定を必要として[ OK ]をクリックします。 Now we need to right-click on the database we just created and choose Tasks and then Import Data .今は右クリックするだけで作成し、我々のタスクを選択し、 データベースにデータをインポートする必要があります

sql 2005 import data

On the Data Source dialog box, scroll up until you see Microsoft Access . Microsoft Accessを参照するまで、データソース]ダイアログボックスで、スクロールアップする

import microsoft access data

Next to File, click on Browse and navigate to the Access database you want to import and click Open .次のファイルをブラウズをクリックすると、インポート、および[開く]をクリックするAccessデータベースに移動します。 Note that the database cannot be in Access 2007 format as SQL Server 2005 does not recognize it!は、データベースアクセスでSQL Server 2005として認識されません2007フォーマットすることはできませんのでご注意! So if you have a 2007 Access database, first convert it to the 2002-2003 Access format by going to Save As.そこで2007 Accessデータベースがある場合は、 2002-2003 Access形式に変換して名前を付けて保存している。

mirgrate access to sql

Go ahead and click Next to choose the destination.先をクリックし、 [次の移動先を選択する。 Since you right-clicked on the database you wanted to import the data into, it should already be picked in the list.以降を右するには、データをインポートして、データベースをクリックすると、既にリストに選択する必要があります。

destination database

Click Next and then specify how you want to transfer the data from Access to SQL by choosing either Copy the data from one or more tables or Write a query to specify the data to transfer .をクリックし、次のいずれかの方法をSQLに変換するデータを指定するために1つまたは複数のテーブルまたはクエリからのデータのコピーを書くを選択してアクセスからデータを転送するかを指定します

access to sql server

In most cases, if you want to just transfer the entire database, you should choose the first option.ほとんどの場合、場合には、データベース全体を転送する場合は、最初のオプションを選択する必要があります。 If you want only a portion of the data from a particular table, you can write out the SQL query.場合は特定のテーブルからデータの一部だけが欲しい場合は、 SQLクエリを書くことができます。 Click Next. [ Next ]をクリックします。

By default all the tables should be selected and if you click the Edit button under Mapping , you’ll see the the destination database will create all of the tables to match what’s in the Access database.マッピングの下の場合は、 [編集]ボタンをクリックしてすべてのテーブルを選択する必要がありますデフォルトでは、その先のデータベースのすべてのテーブルの内容は、 Accessデータベース内の一致するように作成されますが表示されます。

transfer database access to sql

Here I have only one table in my Access database.ここに私のAccessデータベースでは1つのテーブルがあります。 Click Next and then choose whether to execute immediately or to save it as a file to perform later.クリックし、 [次のかどうかをすぐに実行するために保存または実行するには、ファイルとして保存する]を選択します。

save as dts package

Click Next and then click Finish .クリックし、 [次へをクリックして終了します。 You’ll then see the progress of the data transfer as it occurs.これが発生その後、データ転送の進行状況が表示されます。

transfer data

After it is completed, you’ll see the number of rows transferred for each table in the Message column.後に完成されている場合は、メッセージの行列内の各テーブルの転送の数が表示されます。

data transferred

Click Close and you should now have all of your Access data nicely imported into a SQL Server 2005 database, which you can then use for whatever you like. [閉じる]をクリックすると、現在のようにきれいにして何のために使用できるSQL Server 2005データベースにインポートしたすべてのアクセスデータを持っている必要があります。

access database

Any problems importing your data from Access to SQL 2005?何か問題のSQL 2005へのアクセスからデータをインポートするか? If so, post a comment and I’ll try to help!もしそうならば、コメントを投稿しようと私は助けてやる!

Enjoyed this post?この投稿を楽しんだか? Subscribe to Online Tech Tips viaチャンネル登録オンライン技術のヒントを経由 RSS Feed RSSフィード or viaまたは経由 Emailメール and receive free daily productivity tips.日々の生産性のヒントと受信は無料。

» Filed Under »ファイルの下で MS Office TipsはMSオフィスのヒント

おいしいに追加 Save this page このページを保存 Mixxは、 Stir it up on Mixx かき混ぜるそれをミックス
しかし Add to Reddit しかしに追加 StumbleUponの Stumble this page このページつまずく

Related Posts 関連記事

Please post your comments/suggestions! コメントを投稿してください/ご提案!