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

问题描述:

grant all privileges on Students.Student,Student.Course to U2,U3错在哪里
1个回答 分类:综合 2014-11-12

问题解答:

我来补答
这条语句在Oracle上是能运行的,但MS SQL是不支持这种写法,教材上的写法是SQL的标准写法.
on的后面只能接一个对象,也就是说只能分别对U2和U3进行授权.
grant all privileges on Student to U2,U3
grant all privileges on Course to U2,U3
 
 
展开全文阅读
剩余:2000
也许感兴趣的知识