In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
additional database
Copy the database files and log files that need to be attached to a folder that has already been created. For educational purposes, we copy this file into the DATA folder, the directory generated when SQL Server was installed. In the window below, right-click the database object and select Attach from the shortcut menu to open the Attach Database window.
In the Attach Database window, click the Add button in the middle of the page to open the window for locating database files. In this window, locate the database file directory just copied to the DATA folder of SQL Server (the data file does not have to be placed in the DATA directory), and select the database file to be attached (suffix.MDF, as shown in the following figure).
Clicking OK completes the setup of the attached database file. At this time, the information that needs to be attached to the database is listed in the Additional Database window (as shown in the following figure). If you need to modify the attached database name, modify the database name in the Attach As text box. We're using defaults here, so click OK to complete additional tasks for the database.
After completing the above operations, we can see the database student_Mis just attached in the Object Explorer of SSMS (as shown below).
SQL databases can be expanded, contracted, detached, and attached. You can see that this method is useful if you want to migrate a database to a different SQL Server instance on the same computer or to a SQL Server system on another computer.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.