表或者视图不存在,使用plus/sql查讯的时候没有问题,可是在程序中报这个错误,已经在表前面加上了该表所属的用户名!

解决方案 »

  1.   

    有查询权限,在PL/SQL中就可以查!~
      

  2.   

    程序中是以什么用户连接的? 有相应的权限吗? 顺便把问题描述清楚点,比如:用户A下有表Ta, 在程序中用什么用户连的,如果是用户B, B是否有相应的权限? 在pl/sql里用用户B能否查询? 
    ------------------------------------------------------------------------------
    Blog: http://blog.csdn.net/tianlesoftware
    网上资源: http://tianlesoftware.download.csdn.net
    相关视频:http://blog.csdn.net/tianlesoftware/archive/2009/11/27/4886500.aspx
    Q Q 群:62697716 
      

  3.   

    在Admin下的表a使用read连接的,用read在PL/SQL中可以查询,在程序中就不可以了
      

  4.   

    第一个可能是:这个用户没有权限
    如果这个用户有这个权限,则你可以在表名中加入双引号比如
    select * from "product";因为你的表可能是小写,而当你在查询的时候,他会自动则查询的表名转换为大写。
      

  5.   

    在Admin下的表a使用read连接的,用read在PL/SQL中可以查询,在程序中就不可以了--- 检查程下序的代码,如果说在pl/sql 里能查,在程序里也是没有问题的。------------------------------------------------------------------------------
    Blog: http://blog.csdn.net/tianlesoftware
    网上资源: http://tianlesoftware.download.csdn.net
    相关视频:http://blog.csdn.net/tianlesoftware/archive/2009/11/27/4886500.aspx
    Q Q 群:62697716 
      

  6.   

    程序的代码没有问题,我是将语句存在MSSQL中,从里面读取出查询语句后在程序里调用查询语句!
      

  7.   


    程序的代码没有问题,我是将语句存在MSSQL中,从里面读取出查询语句后在程序里调用查询语句!--可以做测试, 先把数据读取出来,手动的执行下看看.. 是不是某个环节出错了?------------------------------------------------------------------------------
    Blog: http://blog.csdn.net/tianlesoftware
    网上资源: http://tianlesoftware.download.csdn.net
    相关视频:http://blog.csdn.net/tianlesoftware/archive/2009/11/27/4886500.aspx
    Q Q 群:62697716 
      

  8.   

    你的程序连接上ORACLE了?
    突然想这么问
      

  9.   

    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.