sys_status.pdc

来自「用C#开发的一套数据仓库的代码。(C#+ORACLE)」· PDC 代码 · 共 45 行

PDC
45
字号
-- Create table
create table SYS_STATUS
(
  STATUS_ID   NUMBER(10) not null,
  STATUS_CODE VARCHAR2(10) not null,
  STATUSDESC  VARCHAR2(50)
)
tablespace SYSINFO
  pctfree 10
  initrans 1
  maxtrans 255
  storage
  (
    initial 64K
    minextents 1
    maxextents unlimited
  );
-- Create/Recreate primary, unique and foreign key constraints 
alter table SYS_STATUS
  add constraint PK_SYS_STATUS primary key (STATUS_CODE)
  using index 
  tablespace SYSINFO
  pctfree 10
  initrans 2
  maxtrans 255
  storage
  (
    initial 64K
    minextents 1
    maxextents unlimited
  );
alter table SYS_STATUS
  add unique (STATUS_ID)
  using index 
  tablespace SYSINFO
  pctfree 10
  initrans 2
  maxtrans 255
  storage
  (
    initial 64K
    minextents 1
    maxextents unlimited
  );

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?