zoukankan      html  css  js  c++  java
  • SERVERCONFIG

    -- Create table
    create table ERP_SERVERCONFIG
    (
    id NUMBER not null,
    servicename VARCHAR2(500),
    serviceip VARCHAR2(100),
    lasttime DATE,
    passminute NUMBER,
    second NUMBER
    )
    tablespace ERPTEST_DATA
    pctfree 10
    initrans 1
    maxtrans 255
    storage
    (
    initial 64
    next 8
    minextents 1
    maxextents unlimited
    );
    -- Add comments to the columns
    comment on column ERP_SERVERCONFIG.id
    is '自增ID';
    comment on column ERP_SERVERCONFIG.servicename
    is '服务名称';
    comment on column ERP_SERVERCONFIG.serviceip
    is '服务IP';
    comment on column ERP_SERVERCONFIG.lasttime
    is '最后操作时间';
    comment on column ERP_SERVERCONFIG.passminute
    is '通过执行时间,每隔此时间检查服务是否运行';
    comment on column ERP_SERVERCONFIG.second
    is '服务定时执行间隔时间';
    -- Create/Recreate indexes
    create index IDX_ERP_SERVICECONFIG_NAME on ERP_SERVERCONFIG (SERVICENAME)
    tablespace ERPTEST_DATA
    pctfree 10
    initrans 2
    maxtrans 255
    storage
    (
    initial 64K
    next 1M
    minextents 1
    maxextents unlimited
    );
    -- Create/Recreate primary, unique and foreign key constraints
    alter table ERP_SERVERCONFIG
    add primary key (ID)
    using index
    tablespace ERPTEST_DATA
    pctfree 10
    initrans 2
    maxtrans 255
    storage
    (
    initial 64K
    next 1M
    minextents 1
    maxextents unlimited
    );

  • 相关阅读:
    ZOJ3513_Human or Pig
    ZOJ2083_Win the Game
    ZOJ2725_Digital Deletions
    ZOJ2686_Cycle Gameu
    UVALive
    ZOJ2290_Game
    ZOJ3067_Nim
    P3159 [CQOI2012]交换棋子(费用流)
    P3153 [CQOI2009]跳舞(最大流多重匹配)
    P3121 [USACO15FEB]审查(黄金)Censoring (Gold)(ac自动机)
  • 原文地址:https://www.cnblogs.com/Leo_wl/p/4903882.html
Copyright © 2011-2022 走看看