当前位置:网站首页>附加简化版示例数据库到SqlServer数据库实例中
附加简化版示例数据库到SqlServer数据库实例中
2022-07-06 09:22:00 【不许秃】
问题展示
当我们执行 附加简化版示例数据库到SqlServer数据库实例中 的操作时可能出错:
分析出错的原因(同时提供解决报错的方法):
1.下载的AdventureWorks的zip包和SQL Server Management Studio的版本不一致
SQL Server Management Studio2008
AdventureWorks2008
(版本一定要一致才行,不然附加数据库时会出错)
2.不是以管理员身份运行SQL Server Management Studio
(要进行附加数据库的操作要以管理员的身份运行SQL Server Management Studio)
3.权限放置附加数据库的文件夹的权限问题
(1)解压AdventureWorks的zip包,右键点击解压后的AdventureWorks文件夹,打开 “属性” ,
点开 “安全” 那一栏,点击 “编辑” 选项
(2)接着我们可以看到 AdventureWorks 的权限 的窗口 ,点击 “添加”
(3)来到 选择用户/组 的窗口,点击 “高级”,在新弹出的窗口选择 “立即查找” ,找到并选中 “Everyone” ,最后点击 “确定”
(4)在Everyone的权限下 ,“允许”列全选 , “应用” 后 ——>点击 “确定”
(5)最后打开SQL Server Management Studio 连接服务器,附加数据库......
附加成功!
成功解决问题记得回来给我点赞!!!蟹蟹~
边栏推荐
- 深度强化文献阅读系列(一):Courier routing and assignment for food delivery service using reinforcement learning
- Programme de jeu de cartes - confrontation homme - machine
- TypeScript快速入门
- 仿牛客技术博客项目常见问题及解答(三)
- 1. First knowledge of C language (1)
- String abc = new String(“abc“),到底创建了几个对象
- 扑克牌游戏程序——人机对抗
- 7-4 散列表查找(PTA程序设计)
- 【九阳神功】2021复旦大学应用统计真题+解析
- 2.初识C语言(2)
猜你喜欢
2. C language matrix multiplication
8. C language - bit operator and displacement operator
[hand tearing code] single case mode and producer / consumer mode
A piece of music composed by buzzer (Chengdu)
Principles, advantages and disadvantages of two persistence mechanisms RDB and AOF of redis
5. Download and use of MSDN
Mode 1 two-way serial communication is adopted between machine a and machine B, and the specific requirements are as follows: (1) the K1 key of machine a can control the ledi of machine B to turn on a
1.C语言初阶练习题(1)
(原创)制作一个采用 LCD1602 显示的电子钟,在 LCD 上显示当前的时间。显示格式为“时时:分分:秒秒”。设有 4 个功能键k1~k4,功能如下:(1)k1——进入时间修改。
2.C语言矩阵乘法
随机推荐
2.C语言矩阵乘法
7-8 7104 约瑟夫问题(PTA程序设计)
[中国近代史] 第六章测验
[the Nine Yang Manual] 2019 Fudan University Applied Statistics real problem + analysis
String abc = new String(“abc“),到底创建了几个对象
Leetcode.3 无重复字符的最长子串——超过100%的解法
4.分支语句和循环语句
C语言入门指南
7-7 7003 组合锁(PTA程序设计)
Redis的两种持久化机制RDB和AOF的原理和优缺点
4.二分查找
Have you encountered ABA problems? Let's talk about the following in detail, how to avoid ABA problems
Miscellaneous talk on May 14
【九阳神功】2022复旦大学应用统计真题+解析
QT meta object qmetaobject indexofslot and other functions to obtain class methods attention
【九阳神功】2018复旦大学应用统计真题+解析
Reinforcement learning series (I): basic principles and concepts
It's never too late to start. The tramp transformation programmer has an annual salary of more than 700000 yuan
C language Getting Started Guide
【九阳神功】2017复旦大学应用统计真题+解析