conn your_user_name /your_user_password@your_host_string;
select * from tab;

解决方案 »

  1.   

    什么意思啊?
    select * from tab;
    未选定行.
    我想可能是权限的吧,怎么给我建的用户权限,让它能够访问这些表呢?
      

  2.   

    将新建的用户赋予system权限并使用同一个分区
    或者使用
    select * from system.tab fan
      

  3.   

    将新建的用户赋予system权限并使用同一个分区
    或者使用
    select * from system.tab 访问
      

  4.   

    conn system/manager;
    grant connect,resource,select any table to your_user_name;
      

  5.   

    "grant connect,resource,select any table to your_user_name;"
    还是不行啊!
    在pb里面,还是提示,不存在的表或者视图啊!
    "将新建的用户赋予system权限并使用同一个分区"
    请问什么意思啊?如果使用同一个分区?
      

  6.   

    请问如何使用相同的分区?赋予sytem权限,如何做?
    我在DBA Studio里面没有找到啊
    我是蔡鸟呀
      

  7.   

    ORA-04042:过程、函数、程序包或程序包体不存在
    又是什么意思呢?
    发生在跟该用户权限的时候
      

  8.   

    connect system/password;
    grant select on table_name to user;
    connect user/password;
    select * from system.table_name;
      

  9.   

    hehe
    我搞定啦,是没有同义词,为每个用户都建立同义词,就行了
    睡觉去啦,行了来给分....
    还有好多问题啊!
    哎!
      

  10.   

    conn system/manager;
    grant all on 表名 to 用户名;
      

  11.   

    你最好不要在system用户中建立任何 对象
    应当建立一个单独用户,在其中建立 对象
    1建用户
    connect system/manager
    create user test identified by test
    default tablespace users
    temporary tablespace temp;grant connect,resource,oem_monitor to test;2 用test用户登陆
    connect test/test
    create table t1(a number,b varchar2(20));3 在你的程序中,用test连接,别再用system了
    否则,可能影响 oracle的 性能,影响你以后的程序移植和调试,system权限比较大,很不安全