TOAD用SYSDBA登陆后给NORMAL授权

本文档详细介绍了如何使用TOAD工具为用户分配特定的角色权限。以DBA身份登录TOAD后,通过架构浏览器的Users页面进行角色授权,也可以直接在SQL编辑器中执行相应的SQL语句。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1.打开TOAD【帮助】文档(F1):
2.索引选项卡中输入:granting
3.选择granting分支:team Coding Roles
4.在出现的标题为:Grant Team Coding Roles to Users下面有整个过程

Grant Team Coding Roles to users in the same way you would grant other roles.

Note: You must be connected as a DBA user to grant roles.

You can grant roles from the Schema Browser, Users page.

To grant roles to users

Select a user in the left panel

Click the Alter User button.

Click the Roles tab. Add or remove roles as desired.

You can also grant roles from the SQL Editor. Enter the appropriate SQL and execute it. For example:

grant TC_ADMIN_ROLE to ARTHUR

grant TC_LDR_ROLE to SUSAN

5.大意就是:TOAD新建连接中,以DBA身份登陆,连接类型选择SYSDBA,
登陆后,在【数据库】->【架构浏览】->左侧框中出现选项卡(如这个样子的< >),
点击">",大致找到第11个就是Users,
然后选中下方列表框中要授权的用户名,
右键点击选中的用户名,选择Alter(或者列表上方带有Alter提示的图标)
选择选项卡中的【System privileges】,然后就是添加权限,connect一定是必须的,
确定退出再用Normal身份登陆就可以了。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值