摘要: 1 --添加用户:exec sp_addlogin ''用户名'',''密码'',''默认数据库名'' 2 exec sp_addlogin 'du','geovindu','hotel' 3 --使其成为当前数据库的合法用户 4 exec sp_grantdbaccess N'du' 5 --授予对自己数据库的所有权限 6 exec sp_addrolemember N'db_owner', N'du' 阅读全文
posted @ 2012-08-15 10:45 ®Geovin Du Dream Park™ 阅读(331) 评论(0) 推荐(0) 编辑