34,838
社区成员




--创建登陆用户
EXEC sp_addlogin 'aaa', 'aaa','test'
--授予数据库访问权
EXEC sp_adduser 'aaa', 'aaa','public'
--赋予权限
grant update,select on T_1(C_A) to aaa
grant select on V_1 to aaa
--用aaa登陆
select C_A from T_1
select * from V_1