Oracle用户授权

来源:互联网 发布:网络直播平台怎么赚钱 编辑:程序博客网 时间:2024/06/05 05:53

grant create session to zhangsan;//授予zhangsan用户创建session的权限,即登陆权限

  grant unlimited tablespace to zhangsan;//授予zhangsan用户使用表空间的权限

  grant create table to zhangsan;//授予创建表的权限

  grante drop any table to zhangsan;//授予删除表的权限

  grant insert table to zhangsan;//插入表的权限

  grant update table to zhangsan;//修改表的权限

  grant all to public;//这条比较重要,授予所有权限(all)给所有用户(public)

imp prjtkybs/prjtkybs@ORCl file=E:\daochu.dmp full=y;

exp prjtkybs/prjtkybs@数据库实体 file=d:\daochu.dmp full=y

0 0
原创粉丝点击