数据库原理与应用第三版何玉洁第十三章上机练习答案

在这里插入图片描述
在这里插入图片描述
1
create login log1,log2,log3
3
不行,因为没有权限
4
grant select on Course to log1
grant insert on Course to log2
可以,有权限了
5
可以
有insert权限
不行
没select权限
6
可以
不行
没insert权限
7
grant create table to log3
8
create role SelectRole
grant select on Student,Course,SC to SelectRole
9
create user pub_user
10
不能,没查询权限
11
EXEC sp_addrolemember ‘pub_user’ ‘SelectRole’
12
可以,因为pub _user在SelectRole角色中,因此可以

猜你喜欢

转载自blog.csdn.net/little_yuan20/article/details/108275553