------解决方案-------------------- GRANT ALTER
ON "A"."TABLE" TO "B"
GRANT DELETE ON "A"."TABLE" TO "B"
GRANT INDEX ON "A"."TABLE" TO "B"
GRANT INSERT ON "A"."TABLE" TO "B"
GRANT REFERENCES ON "A"."TABLE" TO "B"
GRANT SELECT ON ON "A"."TABLE" TO "B"
GRANT UPDATE ON ON "A"."TABLE" TO "B"
------解决方案-------------------- 没看明白 ------解决方案-------------------- 发现用的是A帐号而不是我想要的用B帐号操作A2表
你怎么知道是A账户?通过什么属性来获取的?
select s.USERNAME, s.OSUSER
from v$sql q, v$sql_cursor c, v$session s
where s.audsid = (select userenv('SESSIONID') from dual)
and s.prev_sql_addr = q.address
AND c.STATUS = 'CURFETCH'
你用这个查询username呢? ------解决方案--------------------