我在创建用户时为什么同名方案没有出现?
我已经在用户下创建了一个表
create user hotelman
 identified by hotelman;
grant connection to hotelman;
grant resource to hotelman;
grant dba to hotelman;create table hotelman.roomtype
(Typeidid number primary key);
为什么没有出现方案啊,请高手帮忙

解决方案 »

  1.   

    如果在用OE,刷新一下。如果 create table hotelman.roomtype(...)成功,说明方案已经存在了。 select * from hotelman.roomtype 一下。
      

  2.   

    把dba那个role收回再建表试试。
    有connect,resource两个就够了。
      

  3.   

    我想确认一下,
    你用sqlplus hotelman/<password>进去以后,
    再select tname from tab
    能看到你的表吗?你用的是不是10g,可恢复表模式,如果是那样,建表以后,再commit试试。
      

  4.   

    我用hotelman进去后
    select * from roomtype;
    是不行的
    必须是select * from hotelman.roomtype;
    才可以