一般新建一个用户
最好附上哪些权限好呢?
一来,安全
二来,开发时所有的SQL操作也都够用了,比如insert update delete create等
三来,也不会导致我要导对应的表空间和方案时不会导出整个表空间的所有方案 请给一段代码,谢谢

解决方案 »

  1.   

    安全是相对的,没有绝对安全,如果有了delete数据能安全嘛,能create table 难道不符drop权限,有了drop也不会安全起来。所以要做到权限,备份,管理
      

  2.   

    分配 这2个角色给用户 connect,resource 
    就够了。。
    1.满足
    2.满足
    3.满足
      

  3.   

    grant connect to FLASH;
    grant resource to FLASH;
    补充一点
    select any dictionary;
    不然在使用EM时候报无此权限的错误。-- Create the user 
    create user "1"
      identified by "1"
      default tablespace USERS
      temporary tablespace TEMP;
    -- Grant/Revoke role privileges 
    grant connect to "1";
    grant resource to "1";
    -- Grant/Revoke system privileges 
    grant select any dictionary to "1";