查看当前用户所拥有的表
select table_name from user_tables;
用户管理相关的SQL语句(需要以SYSDBA身份登录系统)
创建新用户: create user [userName] identified by [password];
改变用户的密码 : alter user [userName] identified by [newPassword];
删除用户: drop user [userName] ;
为新用户授予连接数据库和访问资源的权限:
grant connect,resource to [userName];
【oracle】用户管理相关的SQL语句
最新推荐文章于 2024-07-12 07:13:33 发布