作业帮 > 综合 > 作业

grant all privileges on Students.Student,Student.Course to U

来源:学生作业帮 编辑:搜搜考试网作业帮 分类:综合作业 时间:2024/06/11 04:46:40
grant all privileges on Students.Student,Student.Course to U2,U3错在哪里
grant all privileges on Students.Student,Student.Course to U
这条语句在Oracle上是能运行的,但MS SQL是不支持这种写法,教材上的写法是SQL的标准写法.
on的后面只能接一个对象,也就是说只能分别对U2和U3进行授权.
grant all privileges on Student to U2,U3
grant all privileges on Course to U2,U3