SQL Server 2005 How to import a remote database to a local _mssql2005

Source: Internet
Author: User
Tags microsoft sql server microsoft sql server 2005 management studio sql server management sql server management studio

Import and export between the remote database and the local database data is always a matter of concern.

Below, I'll give you a detailed introduction to SQL2005 the method of importing a remote database to a local.

First, open the SQL2005. The method is: "Start" → "program" → "Microsoft SQL Server 2005" → "SQL Server Management Studio" so that you can open the local SQL2005.

After opening the local SQL2005, how can I now import the database from the remote database into the local SQL2005?

Like the following figure, find the "system database", in any database above such as model above right click, select "Task" → "Import data."

Next, a dialog box pops up, clicks Next, and comes to the dialog below.

The dialog box above, you choose a data source, refers to the selection of remote database data , note that the above dialog box, refers to the remote database.

At the ① location, enter the IP address of the remote database, and then select Use SQL Server Authentication to fill in the user name and password separately at ② and ③.

Finally, the database is where the ④ is, choosing which database of the remote server you want to select. All set up, click "Next", come to the setting of the figure below.

The dialog box above refers to the settings for the local database .

Server name there, generally use the default can, if you have more than one name, you can also choose, and then, set the login local database username and password.

Finally, select a local database name in the database, and if not, click the "New" button to create a new database name.

Then click "Next" to see the image below.

In general, if you want to replicate all the data in a remote database, select "Copy data from one or more tables or views", or select the following. Then click "Next" and come to the next picture.

In the diagram above, the database table of the remote database you selected appears in the list, click "Select All" and click "Next" to eject the following image.

In the illustration above, you will typically select "Execute Now" only, and you may not select Save SSIS package. Then click the "Finish" button.

In this way, you go to the remote database data transfer to the state of the local information, you will see how many, the total number of successful information. If it is completely successful, the remote database is successfully imported to the local area.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.