创建用户
create user ecology identified by nskfoa;
2、用户授权
grant connect to ecology; 连接权限
3、授权表权限
grant select on emp to ecology;
4、收回权限
revoke select on emp from ecology;
5、删除用户
drop user ecology;
drop user ecology cascade;(删除关联的表)
6、权限和角色
权限是操作的权限,角色是权限的集合。
7、grant connect,resource to ecology;