0
点赞
收藏
分享

微信扫一扫

[转]通过SQL Server 用户来添加Windows帐户并提升为管理员权限


[转]通过SQL Server 用户来添加Windows帐户并提升为管理员权限

 ​​javascript:void(0)​​

sqlserver通过存储过程添加登陆用户

​​javascript:void(0)​​

SQL server 2005如何为新用户设置权限

​​http://zhidao.baidu.com/question/97882193.html​​

精华推荐:SQL Server的用户及权限

​​http://www.webjx.com/htmldata/2007-03-19/1174269712.html​​

拒绝了对对象'users' (数据库'People',架构'dbo...

​​http://apps.hi.baidu.com/share/detail/30213617​​

 

 

exec sp_addlogin 'NewLoginName','NewPwd','YourDBname'

exec sp_grantdbaccess 'NewLoginName','YourDBname'

grant select,insert,update,delete on YourTableName to public
revoke  select,insert,update,delete on  YourTableName  from  public   

select * from master..syslogins where name='NewLoginName'

 

举报

相关推荐

0 条评论