Home > Database > Mysql Tutorial > body text

How to separate sql database

清浅
Release: 2020-09-15 11:15:00
Original
19928 people have browsed it

SQL database separation: Open the SQL database console to log in. After logging in, find the database and select the database name to be separated. Right-click and select Separate in the task to successfully separate the database.

The steps for sql database separation are as follows:

1. Open the sql server console (SQL Server Management Studio) and log in.

2. If you know the sa password when logging in, you can use the "SQL Server Authentication" mode to log in. If you don't know the sa password, you can use the "windows authentication" mode to log in without a password. The users of sql server 2008 are usually customized users during installation, but they can also log in using "windows authentication" mode.

How to separate sql database

#3. After logging in to the control center, find [Database], click to expand, and then find the name of the database you need to separate. Select the database [right-click]-[Task]-[Detach].

How to separate sql database

Note: Separating the database is generally when you need to copy the database to another machine or move the disk and when you do not need to use the database The next step is to separate the database.

Once the database is separated, the corresponding software will not be able to use and open the database normally. If you need to restore the database to the database console again, select [Database]-[Right-click]-[Attach], find the disk path where the data you want to attach is located, and select the file with the suffix ".MDF".

The above is the detailed content of How to separate sql database. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
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
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!