删掉 abc 错误:
ORA-00942: 表或视图不存在
麻烦大家看看

解决方案 »

  1.   

    先select * from abc 如果不对的话再试试select * from "abc" 看看。
      

  2.   

    表abc 不存在
    select count(0) from user_tables where table_name='ABC';
      

  3.   

    是否没有select权限,提示表不存在呀!
      

  4.   

    你select的时候怎么写的语句?
      

  5.   

    select * from user_tables where table_name='abc';
    存在
    drop table abc;
      

  6.   


    select * from abc
      

  7.   


    sqlplus  能看到 表
      

  8.   

    表名小写了。加"吧。
    drop table "abc"
      

  9.   


    嗯 
    PROCEDURE b
    IS
    BEGIN
    declare a number;
    begin
       select count(1) into a from user_tables where table_name='bb';
       if a>0 then
         dbms_output.put_line('表存在');
         else
           dbms_output.put_line('表不存在');
               execute IMMEDIATE
                'CREATE TABLE "bb"
      (  "ID" VARCHAR2(10), "NAME" VARCHAR2(10)) ';
           end if;
         END;
    COMMIT;
    END b; 这么建的表 最后 查不出来 表 但是 plsql  能看到表数据 是建表 不能加“” 和小写吗
      

  10.   


    小写 的加“”  建的表 select 和 drop  都不行呢
      

  11.   

    drop 命令会自动将你没加双引号的表名给转成大写去匹配数据字典。所以删除不掉。
    如果要删除必须用双引号。然后里面的表名与定义时保持一致。