创建用户
create user username identified by pwd;表
create table tbname(col1 int,col2 varchar2(10));表空间
create tablespace temp datafile '/u01/ORACLE/testdb/class01.dbf size 100M;

解决方案 »

  1.   

    connect user/passwordcreate table tbname(col1 int,col2 varchar2(10));
      

  2.   


    建立表空间
      create tablespace si datafile '/u/oradata/en73/si.dat' size 70M  online
    default storage ( pctincrease 2 );
    建立用户
    create user si identified by si default tablespace si temporary tablespace si;
    给用户授权
    grant dba, connect, resource, create table to si;建立表在用户SI上
     
      create table si.tbname(col1 int,col2 varchar2(10));
      

  3.   

    create table table_name(col1 type_name
                            col2 type_name
                            .............)
    PCTFREE Integer
    PCTUSED Integer
    TABLESPACE tablespace_name  --表空间
    STORAGE (
              caulse...
             )GRANT ALL ON table_name TO user_name