【新手求助】

[复制链接]
查看11 | 回复2 | 2014-5-9 08:24:37 | 显示全部楼层 |阅读模式
大家好,我是个oracle的初学者。最近朋到了一个数据库连接的问题,想问问各位oracle前辈。
在oracle9i数据库里,我创建了表空间,并为该表空间创立了用户A,分配了CONNECT和RESOURCE权限。我启动Oracle Enterprise Manager Console,用该用户A连接数据,总是出现00942错误,提示表或视图不存在。但是我用SYS和SYSTEM两个用户可以登陆。但是我自己写了段程序,用该用户和密码确可以连接数据库。不知道怎么回事,我只是想创建一个权限不是很大的用户来查看数据库的数据。我该怎么办?
回复

使用道具 举报

千问 | 2014-5-9 08:24:37 | 显示全部楼层
ORA-00942 table or view does not exist
Cause: The table or view entered does not exist, a synonym that is not allowed here was used, or a view was referenced where a table is required. Existing user tables and views can be listed by querying the data dictionary. Certain privileges may be required to access the table. If an application returned this message, the table the application tried to access does not exist in the database, or the application does not have access to it.
Action: Check each of the following: The spelling of the table or view name.
That a view is not specified where a table is required.
That an existing table or view name exists.
Contact the database administrator if the table needs to be created or if user or application privileges are required to access the table.
Also, if attempting to access a table or view in another schema, make certain the correct schema is referenced and that access to the object is granted.
回复

使用道具 举报

千问 | 2014-5-9 08:24:37 | 显示全部楼层
分配了CONNECT和RESOURCE权限
我启动Oracle Enterprise Manager Console,用该用户A连接数据,总是出现00942错误,提示表或视图不存在
看一下用户A的权限
OEM_MONITOR 把这个role给他试试
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行