我在oracle10G 数据库中建了一个用户名p 建了一些表,又建了一个用户d .用户d看不到p用户的表(p 和d权限一样)我想用d看p用户的表如何处理
解决方案 »
- Oracle 11gR2 和TOAD运行的问题。
- Apache、ORACLE、PHP都已经正确安装配置完成,初次运行sugarCRM,系统会自动进入安装配置页面,为什么配置PHP的时候只有MYSQL没有ORACLE选项?在线等,谢谢
- 怎么删除oracle磁盘数据
- Tree applet的方法ExpandTreeItem
- ora-03113:通信通道的文件结束
- 本人2月14日大婚,接受祝福,800分全部散尽,普天同贺~~~!!!
- 如何设置游标的初始位置
- 一个有挑战性的sql,望指教
- 用什么编译调试SQLJ 比较好
- 使用SQLDeveloper连接mysql数据库后,无法SQLDeveloper提交、回滚
- 数据库中的一些中文被显示成?, 大部分没有问题。数据库的字符集是 ZHS16CGB231280,请帮忙指导。谢谢
- ORACLE连接SQLSERVER问题
要么授权。
要不就定义成DBA...
User is "SYS"
SQL> create user x identified by x;
User created
SQL> grant resource to x;
Grant succeededSQL> connect x/x@cbdb;
Connected to Oracle Database 10g Enterprise Edition Release 10.2.0.1.0
Connected as x
SQL> create table tx(a int);
Table created
SQL> connect s/s@cbdb as sysdba
Connected to Oracle Database 10g Enterprise Edition Release 10.2.0.1.0
Connected as SYSSQL> create user y identified by y;
User created
SQL> grant create session to y;
Grant succeededSQL> grant select on x.tx to y;
Grant succeededSQL> connect y/y@cbdb
Connected to Oracle Database 10g Enterprise Edition Release 10.2.0.1.0
Connected as y
SQL> select * from x.tx;
A
---------------------------------------
SQL>
1、select * from p.tablename;
2、grant select(,update,...) on tablename to p;
select * from tablename;
3、create public synonym tablename for p.tablename;
select * from tablename;
这样就可以直接看到p下的表的内容。