connect system
create user a
grant connect to a
connect b
grant select any table to a

解决方案 »

  1.   

    先用B登录,然后
    grant select on 表名 to a;
    grant insert on 表名 to a;
    grant update on 表名 to a;
    grant delete on 表名 to a;
      

  2.   

    select 'grant all on '||table_name|| 'to a;' from user_tables
    查询后把所有的语句拷贝出来到SQLPLUS中执行一下。
      

  3.   

    freddy2003和zwj0712的太麻烦了
    用grant select any table to a,多省事
      

  4.   

    to:luxuezhu(卢冲) ,grant select any table to a确实很省事,但是确忽略了安全性.
    to:wick(坏人)  grant select on xxx to public