当前位置:网站首页>Attach the simplified sample database to the SQLSERVER database instance

Attach the simplified sample database to the SQLSERVER database instance

2022-07-06 13:54:00 No baldness

Question presentation

When we execute Attach the simplified sample database to SqlServer In database instance Possible error in operation of :

Analyze the cause of the error ( At the same time, provide solutions to error reporting ):

1. Download the AdventureWorks Of zip Bao He SQL Server Management Studio Of Version inconsistency

SQL Server Management Studio2008

AdventureWorks2008

The version must be consistent Talent , Otherwise, an error will occur when attaching the database )

2. Not running as administrator SQL Server Management Studio

( To attach a database, you need Run as Administrator SQL Server Management Studio

 

3. Permission the permission of the folder where the attached database is placed

(1) decompression AdventureWorks Of zip package , Right click the extracted AdventureWorks Folder , open “ attribute ” ,

It opens at “ Security ”  That column , Click on “ edit ” Options

(2) And then we can see   AdventureWorks Authority   The window of  , Click on “ add to ” 

 

 (3) Came to Select the user / Group The window of , Click on   “ senior ”, Select... In the new pop-up window “ Find now ” , Find and select  “Everyone” , Finally, click “ determine

 

(4) stay Everyone Under the authority of ,“ allow ” Column select all , “ application ” after ——> Click on “ determine

 

 

(5) Finally open SQL Server Management Studio Connect to server , Additional database ......

 

  Attach success !

 

  Remember to come back and praise me for successfully solving the problem !!! Crab ~

 

 

原网站

版权声明
本文为[No baldness]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/187/202207060917124496.html