其他分享
首页 > 其他分享> > 创建分区表

创建分区表

作者:互联网

CREATE TABLE "DB19C"."LAB_APPLY"
   ( "ID" VARCHAR2(100),
 "OUTPATIENT_NUM" VARCHAR2(100),
 "NAME" VARCHAR2(180),
 "ID_NUM" VARCHAR2(180),
 "CLINIC_EMERGENCY_MARK_CODE" VARCHAR2(180),
 "FALG_FIRST_VISIT" VARCHAR2(180),
 "FALG_FIRST_VISIT_NAME" VARCHAR2(180),
 "ADMIN_ILLNESS_CODE" VARCHAR2(200),
 "ADMIN_ILLNESS_NAME" VARCHAR2(4000),
 "TREATMENT_SECTION_CODE" VARCHAR2(180),
 "TREATMENT_SECTION_NAME" VARCHAR2(180)
   ) TABLESPACE "USERS"
partition by range(ID)
( partition p1 values less than (5000),
  partition p2 values less than (maxvalue)
);

  

标签:CODE,NAME,创建,partition,VARCHAR2,180,分区表,ID
来源: https://www.cnblogs.com/xxcbz/p/15798370.html