如何让Oracle的表能提供给其他用户访问?

来源:互联网 发布:搜星软件 编辑:程序博客网 时间:2024/04/30 04:29

给权限就可以。使用该表的owner登陆  
  然后使用  
  grant   create   session   to   marry;
  grant   select  on  yourtablename   to   marry;
  让marry能够登陆并且只能看到这个表,但是不能修改。  
  至于其他的表默认该用户就是看不到的。

 

收回权限

 revoke select on yourtablename from marry;

 

 

想让一个用户能查询所有其它用户的表,给这个用户一个DBA权限就行了。