问答详情
源自:-

怎么在PL/SQL中新建一个用户?并且用这个用户能够登录。

这个新建的用户要能导入数据库。

提问者:weibo_白帽子舒克_0 2015-06-26 11:24

个回答

  • 蓝色小棉袄
    2015-07-01 16:46:05

    --刚才建用户语句写错了 不好意思
    create user username identified by password;

     

  • 蓝色小棉袄
    2015-07-01 16:42:38

    --创建用户
    create user username identied by password;
    --权限
    grant create session to username;--登录权限
    grant unlimited tablespace to username;--使用表空间的权限
    grant create table to username;--授予创建表的权限
    grant drop table to username;--授予删除表的权限
    grant insert table to username;--插入表的权限
    grant update table to username;--修改表的权限
    --这些权限应该可以满足以上要求