SQL> CREATE TABLE s(s# int not null primary key,s_name varchar(8) not null);表已创建。SQL> CREATE TABLE cs(
  2  c# int not null,
  3  cj int not null,
  4  primary key (c#),
  5  foreign key(c#) references s(s#)
  6  );表已创建。SQL> 
需要有create any table权限

解决方案 »

  1.   

    CREATE TABLE aa.s(s# int not null primary key,s_name varchar(8) not null);
    你必须拥有用户aa的所有权限,以下同理。
      

  2.   

    大家帮忙呀,要什么权限。帮我写一下。to bzszp(SongZip) 
      我这里说的“方案”其实就是“所有者”“用户”9i和8i里叫方案。我是用system登陆建的。你举的例错了。to  lcz022(阿五) 
      我是system登陆to all
      100分求大家了谁解决分全给他!!!