oracle SQL用法总结.docxVIP

  • 2
  • 0
  • 约2.04万字
  • 约 22页
  • 2017-01-06 发布于重庆
  • 举报
Oracle SQL 用法总结 (一)用户管理1.创建用户create user user_name --创建用户identified by password[default tablespace def_tablespace] --指定用户默认表空间[temporary tablespace temp_tablespace] --指定用户临时表空间2.用户授权与收回权限grant DBA to user_name --给用户授予DBA角色权限grant create user,create table to user_name(用户名)[with admin option](with admin option选项表示该用户可以将这种系统权限转授予其他用户) --给用户授予系统权限grant select ,update ,insert on table_name(表名) to user_name(用户名) [with grant option](with grant option 选项表示允许该用户将当前的对象权限转授予其他用户) --为用户添加对象权限 revoke create table ,create user from user_name(用户名) --收回用户的系统权限(建表,建用户)revoke selece ,insert ,u

文档评论(0)

1亿VIP精品文档

相关文档