-----创建表空间----------create tablespace bdccslogging datafile 'D:\oracle\product\10.2.0\oradata\bdccs\bdccs.dbf'size 50mautoextend on next 50m maxsize 20480mextent management local;-----创建用户到表空间上------------------create user bdccs identified by bdccsde
create table cdpt( id number(6), name varchar2(30), constraint pk_id primary key(id) ); 更改数据库的“延迟段创建”特性为false 在sql plus 中执行此句 ALTER SYSTEM SET deferred_segment_creation=FALSE; 创建序列 1 create sequence seq_cdpt 2 3 increment by 1 4 5 start with 1 6 7 m