我用dbexpress连接的是oracle数据库
SimpleDataSet1.append;
command;//这里的命令在SQL数据库里都能全部通过
//以下的在SQL里也能正常提交
SimpleDataSet1.post;
SimpleDataSet1.applyupdates(0);
怎么提示
project project1.exe raised exception class EdatabaseError with message 'ora-00942:'表或视图不存在'.process stopped use step or Run contion.

解决方案 »

  1.   

    Error: ORA-00942: table or view does not exist 
    Cause: You tried to execute an SQL statement that references a table or view that either does not exist, that you do not have access to, or that belongs to another schema and you didn't reference the table by the schema name.  
    Action: The options to resolve this Oracle error are: 
    If this error occurred because the table or view does not exist, you will need to create the table or view. 
    You can check to see if the table exists in Oracle by executing the following SQL statement:select * 
    from all_objects 
    where object_type in ('TABLE','VIEW')
    and object_name = 'OBJECT_NAME';For example, if you are looking for a suppliers table, you would execute:select * 
    from all_objects 
    where object_type in ('TABLE','VIEW')
    and object_name = 'SUPPLIERS';      If this error occurred because you do not have access to the table or view, you will need to have the owner of the table/view, or a DBA grant you the appropriate privileges to this object. 
          If this error occurred because the table/view belongs to another schema and you didn't reference the table by the schema name, you will need to rewrite your SQL to include the schema name. 
    For example, you may have executed the following SQL statement:select *
    from suppliers;But the suppliers table is not owned by you, but rather, it is owned by a schema called app, you could fix your SQL as follows:select *
    from app.suppliers;If you do not know what schema the suppliers table/view belongs to, you can execute the following SQL to find out:select owner
    from all_objects 
    where object_type in ('TABLE','VIEW')
    and object_name = 'SUPPLIERS';This will return the schema name who owns the suppliers table.
     
    请高手帮我看一下这些英文是什么意思谢谢
      

  2.   

    1.用「select * from all_objects...」査表或视图存在否。2.表或视的权限,査schema
      select owner from all_objects ...
      

  3.   

    検査結果:若schema是app、表名是suppliers
    SQL就应该是:select * from app.suppliers也就是教你怎样确认自己的表或视