表建在用户scott中,但你是以其他用户登录的(如system)

解决方案 »

  1.   

    你不是以用户scott登录的,所以表名前面要加上SCOTT
    如果你以用户scott登录,就不加
      

  2.   

    可以用scott登陆来解决这个问题
      

  3.   

    该对象为scott用户所有.查看所有的表名:
    select * from all_tables 查看当前登陆用户的表名:
    select * from user_tables其他的对象,如索引,触发器,过程等也差不多这个意思.
      

  4.   

    可以建立同义词来解决
    connect scott/tiger;
    grant all on dept to public;connect user1/pass1;
    create synonym dept for scott.dept;select * from dept;