How to create a database and detach an additional database (SQL)

Create the database:
Create a folder on D drive and E drive.
Open SQL--->Find Database--->Right click and select New Database

Detach additional databases:

Detach the named database and copy the data files to a new folder after detaching.

Attach the database file in the D disk or the folder created in the E disk to SQL Server2005.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325638819&siteId=291194637