connect b/psw
grant select on tableB to a;
connect a/psw
select * from a,b.tableB where ...;

解决方案 »

  1.   

    select a.cols,b.cols from A.a a,B.b b where a.col1 = b.col1
      

  2.   

    你要对B.b有select 权限
      

  3.   

    首先你要对A用户下的a表和B用户下的b表有select 权限
      

  4.   

    conn B/pwd@oracle;
    grant select on b to A;
    commit;
    conn A/pwd@oracle;
    然后你就可以用B.b查询b表了
      

  5.   

    同意,第一,你要知道a有没有b用户表的权限。如果没有的话的线付权限给a用户
    第二,在连接表的时候就可以用b.表名了
      

  6.   

    1、用户a有无对用户b的访问权限
    2、可以直接用表名.字段名直接来进行与a用户的访问
    建立对用户b的权限,参考楼上的
      

  7.   

    connect b/psw
    grant select on tableB to a;
    connect a/psw
    select * from a,b.tableB where ...;