e_ttoa_create_table.sql
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:53k
源码类别:
电子政务应用
开发平台:
Java
- --*****************************
- --CREATE TABLE
- --*****************************
- --
- CREATE TABLE T_PERSON_COMING_MSG (
- MSG_ID FLOAT NOT NULL,
- EMP_ID FLOAT NOT NULL,
- SENDER_ID FLOAT,
- SEND_DATE FLOAT,
- IS_READ FLOAT,
- MSG_TITLE VARCHAR ( 20 ),
- MSG_BODY VARCHAR ( 500 ),
- CONSTRAINT SYS_C005538 PRIMARY KEY (MSG_ID, EMP_ID)
- )
- ;
- CREATE TABLE T_PRIVILEGE (
- PRIVILEGE_ID NUMERIC ( 11 ) NOT NULL,
- PRIVILEGE_NAME VARCHAR ( 50 ) NOT NULL,
- DESCRIPTION VARCHAR ( 100 ),
- GROUP_NAME VARCHAR ( 20 ),
- TYPE VARCHAR ( 40 ),
- SEQUENCE NUMERIC ( 11 ),
- CONSTRAINT SYS_C005170 PRIMARY KEY (PRIVILEGE_ID)
- )
- ;
- CREATE TABLE T_TRAINING_ATTANDENCE (
- TRAINNING_ID FLOAT NOT NULL,
- EMP_ID VARCHAR ( 20 ) NOT NULL,
- NOTE VARCHAR ( 20 ),
- CONSTRAINT SYS_C005528 PRIMARY KEY (TRAINNING_ID, EMP_ID)
- )
- ;
- CREATE TABLE T_EQUIPMENT (
- ID NUMERIC ( 11 ) NOT NULL,
- EQUIPMENT_NAME VARCHAR ( 100 ) NOT NULL,
- CATEGORY_ID NUMERIC ( 11 ) NOT NULL,
- BUY_DEPT_ID NUMERIC ( 11 ) NOT NULL,
- BUY_PERSON_ID NUMERIC ( 11 ),
- USE_DEPT_ID NUMERIC ( 11 ),
- USE_PERSON_ID NUMERIC ( 11 ),
- PURPOSE VARCHAR ( 200 ),
- MODEL VARCHAR ( 200 ),
- EQUIPMENT_CODE VARCHAR ( 100 ),
- CONFIGURE VARCHAR ( 500 ),
- PRICE NUMERIC ( 10, 4 ),
- BUY_DATE DATETIME,
- SUPPLIER VARCHAR ( 200 ),
- PLACE VARCHAR ( 200 ),
- TERM NUMERIC ( 5 ),
- REMARK VARCHAR ( 500 ),
- QUANTITY NUMERIC ( 8 ) NOT NULL,
- REPAIRED NUMERIC ( 1 ) DEFAULT 0 NOT NULL,
- A DATETIME,
- BATCH_ID NUMERIC ( 11 ),
- CONSTRAINT PK_T_EQUIPMENT PRIMARY KEY (ID)
- )
- ;
- CREATE TABLE T_EMP_X_DUTY (
- EMP_ID NUMERIC ( 11 ) NOT NULL,
- DUTY_ID NUMERIC ( 11 ) NOT NULL,
- ASSIGNMENT_DATE DATETIME,
- ASSIGNER_ID NUMERIC ( 11 ),
- IS_MAIN_DUTY NUMERIC ( 1 ),
- CONSTRAINT SYS_C005197 PRIMARY KEY (EMP_ID, DUTY_ID)
- )
- ;
- CREATE TABLE T_ADDRESSLIST_EMPLOYE (
- EMPLOYE_ID NUMERIC ( 11 ) NOT NULL,
- COMPANY_ID NUMERIC ( 11 ) NOT NULL,
- EMPLOYE_NAME VARCHAR ( 200 ),
- EMPLOYE_DEPARTMENT VARCHAR ( 200 ),
- EMPLOYE_DUTY VARCHAR ( 200 ),
- EMPLOYE_EXTENSION NUMERIC ( 10 ),
- EMPLOYE_PAGER VARCHAR ( 100 ),
- EMPLOYE_HANDSET VARCHAR ( 100 ),
- EMPLOYE_OFFICE VARCHAR ( 200 ),
- EMPLOYE_EMAIL VARCHAR ( 100 ),
- CONSTRAINT SYS_C005787 PRIMARY KEY (EMPLOYE_ID, COMPANY_ID)
- )
- ;
- CREATE TABLE T_SALARY_ITEMS (
- EMP_ID VARCHAR ( 20 ) NOT NULL,
- ITEM_ID FLOAT NOT NULL,
- VALUE FLOAT,
- IS_PRINT FLOAT,
- CONSTRAINT SYS_C005519 PRIMARY KEY (EMP_ID, ITEM_ID)
- )
- ;
- CREATE TABLE T_EMP_X_DUTY_REMOVE_LOG (
- REMOVAL_DATE DATETIME NOT NULL,
- EMP_ID NUMERIC ( 11 ) NOT NULL,
- DUTY_ID NUMERIC ( 11 ) NOT NULL,
- REMOVER_NO NUMERIC ( 11 ),
- ASSIGNMENT_DATE DATETIME,
- ASSIGNER_NO NUMERIC ( 11 ),
- CONSTRAINT SYS_C005535 PRIMARY KEY (REMOVAL_DATE, EMP_ID, DUTY_ID)
- )
- ;
- CREATE TABLE T_CATEGORY (
- CATEGORY_ID NUMERIC(11) NOT NULL,
- PARENT_ID NUMERIC(11) DEFAULT -1,
- ISLEAF FLOAT NOT NULL,
- CATEGORY_NAME VARCHAR ( 40 ) NOT NULL,
- CREATOR_ID FLOAT,
- CREATE_DATE DATETIME,
- CONSTRAINT SYS_C005882 PRIMARY KEY (CATEGORY_ID)
- )
- ;
- CREATE TABLE T_PASS_READ_SENT_BOX (
- ARTICAL_ID FLOAT NOT NULL,
- EMP_NO FLOAT,
- IS_SENT FLOAT,
- SEND_DATE DATETIME,
- CONSTRAINT SYS_C005555 PRIMARY KEY (ARTICAL_ID)
- )
- ;
- CREATE TABLE T_DOCUMENTATION (
- DOCUMENT_ID FLOAT NOT NULL,
- PERSON_ID FLOAT NOT NULL,
- DOCUMENT_NAME VARCHAR ( 20 ),
- DOCUMENT_LINK VARCHAR ( 20 ),
- DOCUMENT_SUMMARY VARCHAR ( 20 ),
- CREATOR_NO FLOAT,
- CONSTRAINT SYS_C005586 PRIMARY KEY (DOCUMENT_ID)
- )
- ;
- CREATE TABLE T_SUBTASK_X_FILE (
- FILE_ID NUMERIC ( 10 ),
- ID NUMERIC ( 10 ),
- CONSTRAINT PK_T_EXECUTOR_TEMPLATE_X_FI16 PRIMARY KEY (FILE_ID, ID)
- )
- ;
- CREATE TABLE T_EQUIPMENT_ALLOWED_EMP (
- EQUIPMENT_ID VARCHAR ( 20 ) NOT NULL,
- EMP_NO FLOAT,
- PRIVILEGE VARCHAR ( 20 ),
- CONSTRAINT SYS_C005568 PRIMARY KEY (EQUIPMENT_ID)
- )
- ;
- CREATE TABLE T_EQUIPMENT_APPOINTMENT (
- EQUIPMENT_ID VARCHAR ( 20 ) NOT NULL,
- APPOINT_DATE VARCHAR ( 20 ) NOT NULL,
- START_DATE DATETIME,
- END_DATE DATETIME,
- APPOINT_EMP_NO FLOAT,
- CONSTRAINT SYS_C005573 PRIMARY KEY (EQUIPMENT_ID, APPOINT_DATE)
- )
- ;
- CREATE TABLE T_DOC_RECEIVED_TYPE (
- ID NUMERIC ( 2 ) NOT NULL,
- NAME VARCHAR ( 64 ) NOT NULL,
- CONSTRAINT PK_T_DOC_RECEIVED_TYPE19 PRIMARY KEY (ID)
- )
- ;
- CREATE TABLE T_ADDRESSLIST (
- COMPANY_ID NUMERIC ( 11 ) NOT NULL,
- COMPANY_NAME VARCHAR ( 200 ),
- COMPANY_ADDRESS VARCHAR ( 200 ),
- COMPANY_ZIP NUMERIC ( 10 ),
- COMPANY_TELEPHONE VARCHAR ( 100 ),
- COMPANY_FAX VARCHAR ( 100 ),
- CONSTRAINT SYS_C005288 PRIMARY KEY (COMPANY_ID)
- )
- ;
- CREATE TABLE T_PUBLICATION (
- PUBLICATION_ID NUMERIC ( 11 ) NOT NULL,
- PUBLICATION_NAME VARCHAR ( 200 ),
- PUBLICATION_DEPARTMENT VARCHAR ( 200 ),
- ATTACHMENT_URL VARCHAR ( 100 ),
- PUBLISH_DATE DATETIME,
- CONSTRAINT SYS_C005298 PRIMARY KEY (PUBLICATION_ID)
- )
- ;
- CREATE TABLE T_EMPLOYEE_GROUP (
- GROUP_ID NUMERIC ( 11 ) NOT NULL,
- GROUP_NAME VARCHAR ( 200 ),
- EMP_ID NUMERIC ( 11 ) NOT NULL,
- CONSTRAINT PK_T_EMPLOYEE_GROUP1 PRIMARY KEY (GROUP_ID)
- )
- ;
- CREATE TABLE T_ARCHIVE_TYPE_SPEC (
- ARCHIVE_TYPE_ID NUMERIC ( 11 ) NOT NULL,
- ARCHIVE_TYPE_SPEC VARCHAR ( 1000 ) NOT NULL,
- CONSTRAINT PK_T_ARCHIVE_TYPE_SPEC24 PRIMARY KEY (ARCHIVE_TYPE_ID)
- )
- ;
- CREATE TABLE T_DIRECTORY (
- DIRECTORY_ID NUMERIC ( 11 ) NOT NULL,
- DIRECTORY_NAME VARCHAR ( 200 ),
- DIRECTORY_DEPARTMENT VARCHAR ( 200 ),
- ATTACHMENT_URL VARCHAR ( 100 ),
- PUBLISH_DATE DATETIME,
- CONSTRAINT SYS_C005296 PRIMARY KEY (DIRECTORY_ID)
- )
- ;
- CREATE TABLE T_CONTACT_TASK (
- TASK_ID FLOAT NOT NULL,
- PERSON_ID FLOAT,
- TASK_NAME VARCHAR ( 20 ),
- TASK_DESCRIPTION VARCHAR ( 20 ),
- TASK_STATUS VARCHAR ( 20 ),
- CREATOR_NO VARCHAR ( 20 ),
- CONSTRAINT SYS_C005581 PRIMARY KEY (TASK_ID)
- )
- ;
- CREATE TABLE T_AUTOMOBILE (
- AUTOMOBILE_ID NUMERIC ( 11 ) NOT NULL,
- CAR_CERT_NO VARCHAR ( 256 ) NOT NULL,
- PRICE NUMERIC ( 11, 2 ) NOT NULL,
- PURCHASE_DATE DATETIME NOT NULL,
- ENGINE_NO VARCHAR ( 256 ) NOT NULL,
- FRAME_NO VARCHAR ( 256 ) NOT NULL,
- PRODUCER VARCHAR ( 256 ) NOT NULL,
- BRAND VARCHAR ( 256 ) NOT NULL,
- CAR_TYPE VARCHAR ( 256 ) NOT NULL,
- CAR_DOOR_NUM NUMERIC ( 5 ),
- PASSENGER_NUM NUMERIC ( 5 ) NOT NULL,
- CAB_CAPACITY NUMERIC ( 5 ) NOT NULL,
- CHECK_DATE DATETIME NOT NULL,
- COLOR VARCHAR ( 512 ) NOT NULL,
- DEPARTMENT NUMERIC ( 11 ),
- DECORATION VARCHAR ( 512 ),
- PURPOSE VARCHAR ( 512 ),
- ISBOOKING NUMERIC ( 5 ) NOT NULL,
- LENGTH NUMERIC ( 11, 2 ),
- WIDTH NUMERIC ( 11, 2 ),
- HEIGHT NUMERIC ( 11, 2 ),
- WHEELBASE NUMERIC ( 11, 2 ),
- TREAD NUMERIC ( 11, 2 ),
- MIN_FLOOR NUMERIC ( 11, 2 ),
- TANK_CUBAGE NUMERIC ( 11, 2 ),
- WEIGHT NUMERIC ( 11, 2 ),
- TOTAL_WEIGHT NUMERIC ( 11, 2 ),
- MIN_RADIUS NUMERIC ( 11, 2 ),
- JOURNEY VARCHAR ( 512 ),
- EXHAUST FLOAT,
- ACCELERATE FLOAT,
- POWER VARCHAR ( 50 ),
- TURN VARCHAR ( 512 ),
- ENGINE_TYPE VARCHAR ( 512 ),
- TYPE_ID NUMERIC ( 5 ) NOT NULL,
- CONSTRAINT PK_T_AUTOMOBILE127 PRIMARY KEY (AUTOMOBILE_ID)
- )
- ;
- CREATE TABLE T_PASS_READ_INBOX (
- ARTICAL_ID FLOAT NOT NULL,
- EMP_NO FLOAT,
- IS_READ FLOAT,
- RECE_DATE DATETIME,
- CONSTRAINT SYS_C005553 PRIMARY KEY (ARTICAL_ID)
- )
- ;
- CREATE TABLE T_RECEIVED_MESSAGE (
- MSG_ID NUMERIC ( 11 ) NOT NULL,
- EMP_ID NUMERIC ( 11 ) NOT NULL,
- SENDER_ID NUMERIC ( 11 ) NOT NULL,
- SEND_DATE DATETIME NOT NULL,
- IS_READ NUMERIC ( 1 ) DEFAULT 0 NOT NULL,
- MSG_TITLE VARCHAR ( 200 ) NOT NULL,
- MSG_BODY VARCHAR ( 3000 ),
- CONSTRAINT PK_T_RECEIVER_MESSAGE6 PRIMARY KEY (MSG_ID, EMP_ID)
- )
- ;
- CREATE TABLE T_WORKFLOW_TEMPLATE_TYPE_SPEC (
- TYPE_ID NUMERIC ( 10 ) NOT NULL,
- NAME VARCHAR ( 20 ) NOT NULL,
- DESCRIPTION VARCHAR ( 100 ),
- CONSTRAINT PK_T_WORKFLOW_TYPE25 PRIMARY KEY (TYPE_ID)
- )
- ;
- CREATE TABLE JIVEUSERPERM (
- FORUMID FLOAT NOT NULL,
- USERID FLOAT NOT NULL,
- PERMISSION FLOAT NOT NULL,
- CONSTRAINT SYS_C006125 PRIMARY KEY (FORUMID, USERID, PERMISSION)
- )
- ;
- CREATE TABLE T_PASS_READ_LOG (
- ARTICAL_ID FLOAT NOT NULL,
- READ_DATE DATETIME NOT NULL,
- EMP_NO FLOAT,
- OPERATION VARCHAR ( 20 ),
- CONSTRAINT SYS_C005564 PRIMARY KEY (ARTICAL_ID, READ_DATE)
- )
- ;
- CREATE TABLE T_DRIVER_X_AUTOMOBILE (
- EMP_ID FLOAT NOT NULL,
- AUTOMOBILE_ID NUMERIC ( 11 ) NOT NULL,
- CONSTRAINT PK_T_DRIVER_X_AUTOMOBILE2 PRIMARY KEY (EMP_ID, AUTOMOBILE_ID)
- )
- ;
- CREATE TABLE T_SUBTASK_STATUS_SPEC (
- STATUS_ID NUMERIC ( 2 ) NOT NULL,
- STATUS_NAME VARCHAR ( 64 ) NOT NULL,
- CONSTRAINT PK_T_SUBTASK_STATUS_SPEC22 PRIMARY KEY (STATUS_ID),
- CONSTRAINT TC_T_SUBTASK_STATUS_SPEC170 UNIQUE (STATUS_ID)
- )
- ;
- CREATE TABLE T_AUTOMOBILE_BOOKING (
- AUTOMOBILE_ID NUMERIC ( 11 ) NOT NULL,
- BEGIN_TIME DATETIME NOT NULL,
- END_TIME DATETIME NOT NULL,
- HASDRIVER NUMERIC ( 5 ) NOT NULL,
- REASON VARCHAR ( 2000 ) NOT NULL,
- ROUTE VARCHAR ( 1500) NOT NULL,
- NOTE VARCHAR ( 2000 ),
- USER_ID NUMERIC ( 11 ),
- ID NUMERIC ( 11 ) NOT NULL,
- STATUS_ID NUMERIC ( 5 ) NOT NULL,
- DISAPPROVE VARCHAR ( 2000 ),
- CONSTRAINT PK_T_AUTOMOBILE_BOOKING128 PRIMARY KEY (ID)
- )
- ;
- CREATE TABLE T_PASS_READ_RECYLE_BOX (
- ARTICAL_ID FLOAT NOT NULL,
- EMP_NO FLOAT,
- REMOVE_DATE DATETIME,
- CONSTRAINT SYS_C005561 PRIMARY KEY (ARTICAL_ID)
- )
- ;
- CREATE TABLE HR_FORMAL (
- EMP_ID NUMERIC ( 11 ) NOT NULL,
- OWN_ADVICE VARCHAR ( 800 ),
- MANAGER_ADVICE VARCHAR ( 800 ),
- CEO_ADVICE VARCHAR ( 800 ),
- HR_ADVICE VARCHAR ( 800 ),
- CREATEDATE DATETIME,
- CONSTRAINT SYS_C005827 PRIMARY KEY (EMP_ID)
- )
- ;
- CREATE TABLE T_ARCHIVE_ATTACHMENT (
- FILE_ID NUMERIC ( 11 ) NOT NULL,
- FILE_NAME VARCHAR ( 255 ),
- FILE_TITLE VARCHAR ( 1000 ) NOT NULL,
- FILE_SUMMARY VARCHAR ( 500 ),
- SEND_DATE DATETIME NOT NULL,
- OTHERS VARCHAR ( 1000 ),
- ARCHIVE_ID NUMERIC ( 11 ) NOT NULL,
- CONSTRAINT PK_T_ARCHIVE_ATTACHMENT27 PRIMARY KEY (FILE_ID)
- )
- ;
- CREATE TABLE T_EMP (
- EMP_ID NUMERIC(11) NOT NULL,
- TITLE VARCHAR(120),
- NAME VARCHAR(80),
- USERNAME VARCHAR(80),
- DIVISION_ID NUMERIC(11),
- OFFICE_TELEPHONE VARCHAR(80),
- HOME_FAX VARCHAR(80),
- MOBILE_PHONE VARCHAR(80),
- EMAIL VARCHAR(80),
- MANAGER_ID NUMERIC(11),
- ASSISTANT_ID NUMERIC(11),
- NOTE VARCHAR(400),
- PASSWORD VARCHAR(32) DEFAULT '1111',
- SEX INT DEFAULT '1',
- DISMISSION INT DEFAULT 0,
- HOME_PHONE VARCHAR(80),
- CONSTRAINT SYS_C005811 PRIMARY KEY (EMP_ID),
- CONSTRAINT T_EMP_UNIQUE_USERNAME UNIQUE (USERNAME)
- )
- ;
- CREATE TABLE T_SENT_MESSAGE (
- MSG_ID NUMERIC ( 11 ) NOT NULL,
- EMP_ID NUMERIC ( 11 ) NOT NULL,
- IS_SENT NUMERIC ( 1 ) DEFAULT 0 ,
- MSG_TITLE VARCHAR ( 300 ) NOT NULL,
- MSG_BODY VARCHAR ( 3000 ),
- SENT_DATE DATETIME NOT NULL,
- CONSTRAINT PK_T_SEND_MESSAGE2 PRIMARY KEY (MSG_ID)
- )
- ;
- CREATE TABLE JIVEFORUMPROP (
- FORUMID FLOAT NOT NULL,
- NAME VARCHAR ( 30 ) NOT NULL,
- PROPVALUE VARCHAR ( 255 ) NOT NULL,
- CONSTRAINT SYS_C006083 PRIMARY KEY (FORUMID, NAME)
- )
- ;
- CREATE TABLE T_CONTACT_X_GROUP (
- CONTACT_ID NUMERIC ( 11 ) NOT NULL,
- GROUP_ID NUMERIC ( 11 ) NOT NULL,
- CONSTRAINT PK_T_X_CONTACT_GROUP125 PRIMARY KEY (CONTACT_ID, GROUP_ID)
- )
- ;
- CREATE TABLE T_DUTY_X_PRIVILEGE (
- DUTY_ID NUMERIC ( 11 ) NOT NULL,
- PRIVILEGE_ID NUMERIC ( 11 ) NOT NULL,
- ASSIGNMENT_DATE DATETIME,
- ASSIGNER_NO NUMERIC ( 11 ),
- CONSTRAINT SYS_C005187 PRIMARY KEY (DUTY_ID, PRIVILEGE_ID)
- )
- ;
- CREATE TABLE T_ADDRESSLIST_GROUP (
- GROUP_ID NUMERIC ( 11 ) NOT NULL,
- GROUP_NAME VARCHAR ( 200 ),
- EMP_ID NUMERIC ( 11 ) NOT NULL,
- CONSTRAINT PK_T_ADDRESSLIST_GROUP123 PRIMARY KEY (GROUP_ID)
- )
- ;
- CREATE TABLE HR_SALARY_COMPONENT (
- COMPONENT_ID NUMERIC ( 5 ) NOT NULL,
- COMPONENT_NAME VARCHAR ( 80 ),
- COMPONENT_TYPE FLOAT,
- COMPONENT_STATE FLOAT,
- COMPONENT_CALCTYPE FLOAT,
- COMPONENT_CALCNUM FLOAT ,
- COMPONENT_DESCRIPTION VARCHAR ( 60 ),
- CONSTRAINT SYS_C005888 PRIMARY KEY (COMPONENT_ID)
- )
- ;
- CREATE TABLE T_PASS_READ_OVER_BOX (
- ARTICAL_ID FLOAT NOT NULL,
- EMP_NO FLOAT,
- CONSTRAINT SYS_C005559 PRIMARY KEY (ARTICAL_ID)
- )
- ;
- CREATE TABLE T_TASK_ATTACHMENT (
- ATTACHMENT_ID NUMERIC ( 11 ) NOT NULL,
- TASK_ID NUMERIC ( 11 ) NOT NULL,
- URL VARCHAR ( 100 ),
- CONSTRAINT SYS_C005285 PRIMARY KEY (ATTACHMENT_ID, TASK_ID)
- )
- ;
- CREATE TABLE T_DUTY (
- DUTY_ID NUMERIC ( 11 ) NOT NULL,
- DIVISION_ID NUMERIC ( 11 ) NOT NULL,
- DUTY_TITLE VARCHAR ( 200 ),
- DESCRIPTION VARCHAR ( 200 ),
- CHECK_STANDARD VARCHAR ( 200 ),
- DEMAND_SKILL VARCHAR ( 200 ),
- NEED_NUMERIC NUMERIC ( 4 ),
- CURRENT_NUMBER NUMERIC ( 4 ),
- CONSTRAINT SYS_C005183 PRIMARY KEY (DUTY_ID),
- CONSTRAINT T_DUTY_UN01 UNIQUE (DIVISION_ID, DUTY_TITLE)
- )
- ;
- CREATE TABLE T_DIVISION (
- DIVISION_ID NUMERIC ( 11 ) NOT NULL,
- P_DIVISION_ID NUMERIC ( 11 ),
- DIVISION_NAME VARCHAR ( 80 ) NOT NULL,
- LOCATION VARCHAR ( 60 ),
- TELEPHONE VARCHAR ( 20 ),
- FAX VARCHAR ( 20 ),
- ZIP_CODE VARCHAR ( 6 ),
- PROVINCE VARCHAR ( 20 ),
- CITY VARCHAR ( 20 ),
- MANAGER_ID NUMERIC ( 11 ),
- DIVISION_DUTY VARCHAR ( 200 ),
- EMAIL VARCHAR ( 30 ),
- DIVISION_TYPE VARCHAR ( 20 ),
- CONSTRAINT SYS_C005163 PRIMARY KEY (DIVISION_ID),
- CONSTRAINT T_DIVISION_UN01 UNIQUE (P_DIVISION_ID, DIVISION_NAME)
- )
- ;
- CREATE TABLE HR_CONTRACT (
- EMP_ID NUMERIC ( 11 ) NOT NULL,
- CONTRACT_TYPE NUMERIC ( 5 ),
- CONTRACT_CURRENCY NUMERIC ( 5 ),
- CONTRACT_STATE NUMERIC ( 5 ),
- CONTRACT_STARTDATE DATETIME,
- CONTRACT_ENDDATE DATETIME,
- CONTRACT_SALARY NUMERIC ( 10, 2 ),
- CONTRACT_POSITION_LEVEL VARCHAR ( 40 ),
- CONTRACT_SALARY_LEVEL VARCHAR ( 40 ),
- CONTRACT_NOTE VARCHAR ( 400 ),
- CONSTRAINT SYS_C005815 PRIMARY KEY (EMP_ID)
- )
- ;
- CREATE TABLE T_SUBTASK (
- SUB_TASK_ID NUMERIC ( 10 ) NOT NULL,
- STEP_NO NUMERIC ( 5 ) NOT NULL,
- TITLE VARCHAR ( 250 ) NOT NULL,
- DESCRIPTION VARCHAR ( 1500 ),
- BEGIN_DATE DATETIME,
- PLAN_END_DATE DATETIME,
- END_DATE DATETIME,
- WORKFLOW_ID NUMERIC ( 10 ) NOT NULL,
- STATUS_ID NUMERIC ( 2 ) NOT NULL,
- TYPE_ID NUMERIC ( 2 ) NOT NULL,
- NOTE VARCHAR ( 1500 ),
- CONSTRAINT PK_SUBTASKS5 PRIMARY KEY (SUB_TASK_ID)
- )
- ;
- CREATE TABLE T_ACCIDENT (
- ID FLOAT NOT NULL,
- EMP_ID FLOAT NOT NULL,
- TIME DATETIME,
- SITE VARCHAR ( 1000 ),
- SEVERITY_LEVEL VARCHAR ( 100 ),
- REASON VARCHAR ( 1000 ),
- IS_RESPONSIBLE FLOAT,
- PROCESS_RESULT VARCHAR ( 1000 ),
- NOTE VARCHAR ( 1000 ),
- AUTOMOBILE_ID NUMERIC ( 11 ) NOT NULL,
- CONSTRAINT PK_T_ACCIDENT131 PRIMARY KEY (ID)
- )
- ;
- CREATE TABLE HR_TRAIN_FEEDBACK (
- TRAIN_ID NUMERIC ( 5 ) NOT NULL,
- EMP_ID NUMERIC ( 11 ),
- TRAIN_SATISFACTION VARCHAR ( 20 ),
- TRAIN_EXPERIENCE VARCHAR ( 2000 ),
- TRAIN_ADVICE VARCHAR ( 2000 ),
- TRAIN_COMMENT VARCHAR ( 2000 )
- )
- ;
- CREATE TABLE JIVEGROUPPERM (
- FORUMID FLOAT NOT NULL,
- GROUPID FLOAT NOT NULL,
- PERMISSION FLOAT NOT NULL,
- CONSTRAINT SYS_C006090 PRIMARY KEY (FORUMID, GROUPID, PERMISSION)
- )
- ;
- CREATE TABLE T_LEAVE_WORD (
- LEAVE_WORD_ID NUMERIC ( 11 ) NOT NULL,
- EMP_ID NUMERIC ( 11 ) NOT NULL,
- MSG_TITLE VARCHAR ( 200 ),
- MSG_BODY VARCHAR ( 3000 ),
- WRITE_DATE DATETIME NOT NULL,
- END_DATE DATETIME,
- CONSTRAINT PK_T_LEAVE_WORD1 PRIMARY KEY (LEAVE_WORD_ID)
- )
- ;
- CREATE TABLE T_SAFETY_DRIVING (
- ID FLOAT NOT NULL,
- SAFETY_EXAMINATION VARCHAR ( 1000 ),
- BONUS FLOAT,
- NOTE VARCHAR ( 1000 ),
- CONSTRAINT PK_T_SAFTY_DRIVING1 PRIMARY KEY (ID)
- )
- ;
- CREATE TABLE T_SUBTASK_TEMPLATE (
- SUBTASK_ID NUMERIC ( 10 ) NOT NULL,
- STEP_NO NUMERIC ( 4 ) NOT NULL,
- TITLE VARCHAR ( 2000 ),
- DESCRIPTION VARCHAR ( 4000 ),
- WORKFLOW_ID NUMERIC ( 10 ) NOT NULL,
- TYPE_ID NUMERIC ( 2 ) NOT NULL,
- CONSTRAINT PK_T_SUBTASK_TEMPLATE22 PRIMARY KEY (SUBTASK_ID)
- )
- ;
- CREATE TABLE T_CONTACT_PERSON_NOTES (
- NOTE_ID FLOAT NOT NULL,
- PERSON_ID FLOAT,
- NOTE_SUMMARY VARCHAR ( 20 ),
- NOTE_DESCRIPTION VARCHAR ( 20 ),
- CONSTRAINT SYS_C005583 PRIMARY KEY (NOTE_ID)
- )
- ;
- CREATE TABLE T_WORKFLOW_TEMPLATE (
- WORKFLOW_ID NUMERIC ( 10 ) NOT NULL,
- CREATOR NUMERIC ( 10 ),
- CREATION_DATE DATETIME,
- TITLE VARCHAR ( 2000 ),
- DESCRIPTION VARCHAR ( 3000 ),
- FILE_PATH VARCHAR ( 1000 ),
- TYPE_ID NUMERIC ( 10 ) NOT NULL,
- MODIFIER NUMERIC ( 10 ),
- MODIFIED_DATE DATETIME,
- WORKFLOW_TYPE_ID NUMERIC ( 10 ),
- CONSTRAINT PK_T_WORKFLOW4 PRIMARY KEY (WORKFLOW_ID)
- )
- ;
- CREATE TABLE HR_MEMBER_INNER_RESUME (
- EMP_ID NUMERIC ( 11 ) NOT NULL,
- INNER_ID NUMERIC ( 11 ) NOT NULL,
- INNER_DEVISION_NAME VARCHAR ( 80 ),
- INNER_STARTDATE DATETIME,
- INNER_ENDDATE DATETIME,
- INNER_DUTY VARCHAR ( 80 ),
- INNER_ACHIEVEMENT VARCHAR ( 400 ),
- CONSTRAINT SYS_C005487 PRIMARY KEY (EMP_ID, INNER_ID)
- )
- ;
- CREATE TABLE T_EMPLOYEE_X_GROUP (
- EMP_ID NUMERIC ( 11 ) NOT NULL,
- GROUP_ID NUMERIC ( 11 ) NOT NULL,
- CONSTRAINT PK_T_EMPLOYEE_X_GROUP1 PRIMARY KEY (EMP_ID, GROUP_ID)
- )
- ;
- CREATE TABLE T_AUTOMOBILE_MAINTAIN (
- ID NUMERIC ( 11 ) NOT NULL,
- AUTOMOBILE_ID NUMERIC ( 11 ) NOT NULL,
- BEGIN_TIME DATETIME NOT NULL,
- END_TIME DATETIME NOT NULL,
- SENDER VARCHAR ( 256 ),
- REPAIRER VARCHAR ( 256 ) NOT NULL,
- REASON VARCHAR ( 2048 ),
- COST NUMERIC ( 11, 2 ) NOT NULL,
- CONSTRAINT PK_T_AUTOMOBILE_MAINTAIN124 PRIMARY KEY (ID)
- )
- ;
- CREATE TABLE T_CONFERENCE_X_FILES (
- ID NUMERIC ( 10 ) NOT NULL,
- FILE_ID NUMERIC ( 5 ) NOT NULL,
- CONSTRAINT PK_T_CONFERENCE_X_FILES134 PRIMARY KEY (ID, FILE_ID)
- )
- ;
- CREATE TABLE T_CONFERENCE_STATUS (
- STATUS_ID NUMERIC ( 1 ) NOT NULL,
- STATUS_NAME VARCHAR ( 100 ) NOT NULL,
- DESCRIPTION VARCHAR ( 1000 ),
- CONSTRAINT PK_T_CONFERENCE_STATUS130 PRIMARY KEY (STATUS_ID)
- )
- ;
- CREATE TABLE T_EXECUTOR_TEMPLATE (
- ID NUMERIC ( 10 ) NOT NULL,
- EMPLOYEE_ID NUMERIC ( 10 ) NOT NULL,
- NOTES VARCHAR ( 800 ),
- SUBTASK_ID NUMERIC ( 10 ) NOT NULL,
- CONSTRAINT PK_T_EXECUTOR_TEMPATE23 PRIMARY KEY (ID)
- )
- ;
- CREATE TABLE T_WORKFLOW_STATUS_SPEC (
- STATUS_ID NUMERIC ( 10 ) NOT NULL,
- STATUS_NAME VARCHAR ( 64 ) NOT NULL,
- CONSTRAINT PK_T_WORKFLOW_STATUS_SPEC19 PRIMARY KEY (STATUS_ID),
- CONSTRAINT TC_T_WORKFLOW_STATUS_SPEC167 UNIQUE (STATUS_ID)
- )
- ;
- CREATE TABLE T_DOCRECEIVED_X_FILE (
- FILE_ID NUMERIC ( 10 ),
- ID NUMERIC ( 10 ),
- CONSTRAINT PK_T_DOCRECEIVED_X_FILE22 PRIMARY KEY (FILE_ID, ID)
- )
- ;
- CREATE TABLE T_WORKFLOW_TEMPLATE_X_FILE (
- ID NUMERIC ( 10 ),
- FILE_ID NUMERIC ( 10 ),
- CONSTRAINT PK_T_WORKFLOW_TEMPLATE_X_FI18 PRIMARY KEY (ID, FILE_ID)
- )
- ;
- CREATE TABLE T_WORKFLOW (
- WORKFLOW_ID NUMERIC ( 10 ) NOT NULL,
- CREATOR_ID NUMERIC ( 10 ),
- CREATE_DATE DATETIME,
- TITLE VARCHAR ( 1000 ) NOT NULL,
- DESCRIPTION VARCHAR ( 4000 ),
- FILE_PATH VARCHAR ( 100 ),
- STATUS_ID NUMERIC ( 10 ) NOT NULL,
- TYPE_ID NUMERIC ( 10 ) NOT NULL,
- CONSTRAINT PK_T_WORKFLOW24 PRIMARY KEY (WORKFLOW_ID)
- )
- ;
- CREATE TABLE HR_MEMBER_EDUCATIONAL_INFO (
- MEMBER_SCHOOL_ID NUMERIC ( 11 ) NOT NULL,
- EMP_ID NUMERIC ( 11 ) NOT NULL,
- MEMBER_SCHOOL VARCHAR ( 80 ),
- DD_EDULEVEL_ID NUMERIC ( 5 ),
- MEMBER_SUBJECT VARCHAR ( 80 ),
- MEMBER_STARTDATE DATETIME,
- MEMBER_ENDDATE DATETIME,
- MEMBER_EDU_SPECIAL VARCHAR ( 200 ),
- CONSTRAINT SYS_C005502 PRIMARY KEY (MEMBER_SCHOOL_ID, EMP_ID)
- )
- ;
- CREATE TABLE T_EXECUTOR (
- EXEC_ID NUMERIC ( 10 ) NOT NULL,
- EMPLOYEE_ID NUMERIC ( 10 ) NOT NULL,
- BEGIN_DATE DATETIME,
- END_DATE DATETIME,
- NOTES VARCHAR ( 100 ),
- SUB_TASK_ID NUMERIC ( 10 ) NOT NULL,
- STATUS_ID NUMERIC ( 10 ) NOT NULL,
- CONSTRAINT PK_EXECUTOR6 PRIMARY KEY (EXEC_ID)
- )
- ;
- CREATE TABLE HR_DEV_TRAIN (
- TRAIN_ID NUMERIC ( 5 ) NOT NULL,
- DIVISION_ID NUMERIC ( 11 ),
- DEP_TRAIN_DESCRIPTION VARCHAR ( 20 ),
- EMP_ID NUMERIC ( 11 ) NOT NULL,
- EMP_NAME VARCHAR ( 20 ),
- CONSTRAINT HR_DEV_TRAIN_PK PRIMARY KEY (TRAIN_ID, EMP_ID)
- )
- ;
- CREATE TABLE HR_MEMBER_SALARY (
- COMPONENT_ID NUMERIC ( 5 ) NOT NULL,
- EMP_ID NUMERIC ( 11 ) NOT NULL,
- COMPONENT_COUNT NUMERIC ( 8, 2 ),
- COMPONENT_TYPE FLOAT,
- CONSTRAINT SYS_C005951 PRIMARY KEY (COMPONENT_ID, EMP_ID)
- )
- ;
- CREATE TABLE T_TRAINNING_PROJECT (
- TRAINNING_ID FLOAT NOT NULL,
- TRAIN_TITLE VARCHAR ( 20 ),
- TRAIN_SUMMARY VARCHAR ( 20 ),
- TRAIN_DESCRIPTION VARCHAR ( 20 ),
- DEPT_NO FLOAT,
- START_DATE DATETIME,
- END_DATE DATETIME,
- CONSTRAINT SYS_C005525 PRIMARY KEY (TRAINNING_ID)
- )
- ;
- CREATE TABLE T_AUTOMOBILE_TYPE (
- TYPE_ID NUMERIC ( 5 ) NOT NULL,
- TYPE_NAME VARCHAR ( 256 ) NOT NULL,
- CONSTRAINT PK_T_AUTOMOBILE_TYPE129 PRIMARY KEY (TYPE_ID)
- )
- ;
- CREATE TABLE T_WORKFLOW_INSTANCY_TYPE (
- ID NUMERIC ( 5 ) NOT NULL,
- NAME VARCHAR ( 64 ) NOT NULL,
- CONSTRAINT PK_T_WORKFLOW_INSTANCY_TYPE21 PRIMARY KEY (ID)
- )
- ;
- CREATE TABLE HR_DD (
- DD_ID NUMERIC ( 5 ) NOT NULL,
- DD_TYPE_ID FLOAT,
- DD_NAME VARCHAR ( 60 ),
- DD_STATE FLOAT,
- DD_DESCRIPTION VARCHAR ( 120 ),
- CONSTRAINT SYS_C005479 PRIMARY KEY (DD_ID)
- )
- ;
- CREATE TABLE T_DOC_RECEIVED (
- ID NUMERIC ( 10 ) NOT NULL,
- NO VARCHAR ( 128 ) NOT NULL,
- TITLE VARCHAR ( 256 ) NOT NULL,
- RECEIVED_DATE DATETIME,
- FILE_NUMBER NUMERIC ( 5 ),
- PAGES NUMERIC ( 5 ),
- CONTENT VARCHAR ( 800 ),
- REMARK VARCHAR ( 800 ),
- CREATOR_ID NUMERIC ( 10 ),
- CREATE_DATE DATETIME,
- COME_FROM VARCHAR ( 400 ),
- TYPE_ID NUMERIC ( 2 ) NOT NULL,
- SECURITY_ID NUMERIC ( 5 ) NOT NULL,
- KEYWORD VARCHAR ( 2000 ),
- CONSTRAINT PK_T_DOC_RECEIVED24 PRIMARY KEY (ID)
- )
- ;
- CREATE TABLE JIVEGROUP (
- GROUPID FLOAT NOT NULL,
- NAME VARCHAR ( 50 ) NOT NULL,
- DESCRIPTION VARCHAR ( 255 ),
- CONSTRAINT SYS_C006086 PRIMARY KEY (GROUPID)
- )
- ;
- CREATE TABLE HR_MEMBER_RESUME_INFO (
- MEMBER_COR_ID NUMERIC ( 11 ) NOT NULL,
- EMP_ID NUMERIC ( 11 ) NOT NULL,
- MEMBER_COR_NAME VARCHAR ( 80 ),
- MEMBER_STARTDATE DATETIME,
- MEMBER_ENDDATE DATETIME,
- MEMBER_DEP_NAME VARCHAR ( 80 ),
- MEMBER_DUTY_NAME VARCHAR ( 40 ),
- MEMBER_ACHIEVEMENT VARCHAR ( 400 ),
- MEMBER_RESUME_TYPE FLOAT,
- CONSTRAINT SYS_C005497 PRIMARY KEY (MEMBER_COR_ID, EMP_ID)
- )
- ;
- CREATE TABLE T_CONTRACT (
- CONTRACT_ID FLOAT NOT NULL,
- EMP_ID VARCHAR ( 20 ),
- STATUS VARCHAR ( 20 ),
- CONTRACT_NAME VARCHAR ( 20 ),
- CONTRACT_TYPE CHAR ( 18 ),
- SIGN_DATE DATETIME,
- ABORT_DATE DATETIME,
- CONTRACT_CONTENT VARCHAR ( 4000 ),
- CONSTRAINT SYS_C005514 PRIMARY KEY (CONTRACT_ID)
- )
- ;
- CREATE TABLE T_SALARY_ITEMS_SPEC (
- ITEM_ID FLOAT NOT NULL,
- ITEM_NAME FLOAT,
- CONSTRAINT SYS_C005516 PRIMARY KEY (ITEM_ID)
- )
- ;
- CREATE TABLE T_WORKFLOW_X_FILE (
- ID NUMERIC ( 10 ),
- FILE_ID NUMERIC ( 10 ),
- CONSTRAINT PK_T_WORKFLOW_X_FILE11 PRIMARY KEY (ID, FILE_ID)
- )
- ;
- CREATE TABLE T_ATTENDANCE_LOG (
- EMP_ID NUMERIC ( 11 ) NOT NULL,
- WORK_DATE DATETIME NOT NULL,
- CHECK_IN_TIME DATETIME,
- CHECK_OFF_TIME DATETIME,
- CHECK_IN_NOTES VARCHAR ( 500 ),
- CHECK_OFF_NOTES VARCHAR ( 500 ),
- LATE_COUNT NUMERIC ( 4 ),
- EARLY_LEAVE_COUNT NUMERIC ( 4 ),
- CONSTRAINT SYS_C005250 PRIMARY KEY (EMP_ID, WORK_DATE)
- )
- ;
- CREATE TABLE T_REGULATION (
- REGULATION_ID NUMERIC ( 11 ) NOT NULL,
- REGULATION_NAME VARCHAR ( 200 ),
- REGULATION_DEPARTMENT VARCHAR ( 200 ),
- ATTACHMENT_URL VARCHAR ( 100 ),
- PUBLISH_DATE DATETIME,
- CONSTRAINT SYS_C005294 PRIMARY KEY (REGULATION_ID)
- )
- ;
- CREATE TABLE T_EQUIPMENT_ALLOWED_DEPT (
- EQUIPMENT_ID VARCHAR ( 20 ) NOT NULL,
- DEPT_NO FLOAT,
- TYPE VARCHAR ( 20 ),
- PRIVILEGE VARCHAR ( 20 ),
- CONSTRAINT SYS_C005570 PRIMARY KEY (EQUIPMENT_ID)
- )
- ;
- CREATE TABLE T_EMP_X_PRIVILEGE (
- EMP_ID NUMERIC ( 11 ) NOT NULL,
- PRIVILEGE_ID NUMERIC ( 11 ) NOT NULL,
- ASSIGNER_ID NUMERIC ( 11 ),
- ASSIGN_DATE DATETIME,
- DIVISION_ID NUMERIC ( 11 ) NOT NULL,
- CONSTRAINT SYS_C005177 PRIMARY KEY (EMP_ID, PRIVILEGE_ID, DIVISION_ID)
- )
- ;
- CREATE TABLE T_DIRECTORIES_PERMISSION (
- DIRECTORY_ID NUMERIC ( 11 ) NOT NULL,
- EMP_ID NUMERIC ( 11 ) NOT NULL,
- PERMISSION NUMERIC ( 1 ) NOT NULL,
- ASSIGNER_ID NUMERIC ( 11 ),
- ASSIGN_DATE DATETIME,
- CONSTRAINT PK_T_DIRECTORIES_PERMISSION16 PRIMARY KEY (DIRECTORY_ID, EMP_ID, PERMISSION)
- )
- ;
- CREATE TABLE T_DIVISION_TYPE (
- DIVISION_TYPE VARCHAR ( 20 ) NOT NULL,
- DESCRIPTION VARCHAR ( 20 ),
- CONSTRAINT SYS_C005280 PRIMARY KEY (DIVISION_TYPE)
- )
- ;
- CREATE TABLE T_DISCUSSION_TOPIC (
- TOPIC_ID FLOAT NOT NULL,
- TOPIC_NAME VARCHAR ( 20 ),
- TOPIC_DESCRIPTION VARCHAR ( 1000 ),
- CREATOR_NO FLOAT,
- START_DATE DATETIME,
- CONSTRAINT SYS_C005544 PRIMARY KEY (TOPIC_ID)
- )
- ;
- CREATE TABLE T_CONFERENCE (
- CONFERENCE_ID NUMERIC ( 10 ) NOT NULL,
- SUBJECT VARCHAR ( 100 ) NOT NULL,
- START_TIME DATETIME NOT NULL,
- END_TIME DATETIME NOT NULL,
- CREATOR NUMERIC ( 10 ),
- CREATION_DATE DATETIME,
- CONTACT_WAY VARCHAR ( 1000 ),
- DESCRIPTION VARCHAR ( 4000 ),
- IF_PUT_SUMMARY NUMERIC ( 1 ),
- UPDATE_DATE DATETIME,
- WORKFLOW_ID NUMERIC ( 10 ) NOT NULL,
- STATUS_ID NUMERIC ( 1 ) NOT NULL,
- BOARDROOM_ID NUMERIC ( 10 ) NOT NULL,
- FILE_PATH VARCHAR ( 1000 ),
- CONSTRAINT PK_T_CONFERENCE125 PRIMARY KEY (CONFERENCE_ID)
- )
- ;
- CREATE TABLE T_MSG_RECEIVER (
- MSG_ID NUMERIC ( 11 ) NOT NULL,
- RECEIVER_ID NUMERIC ( 11 ) NOT NULL,
- CONSTRAINT PK_T_MSG_RECEIVER5 PRIMARY KEY (MSG_ID, RECEIVER_ID)
- )
- ;
- CREATE TABLE T_WORK_RECORD (
- ID FLOAT NOT NULL,
- EMP_ID FLOAT NOT NULL,
- AUTOMOBILE_ID NUMERIC ( 11 ) NOT NULL,
- BOATER VARCHAR ( 100 ),
- REASON VARCHAR ( 1000 ),
- SITE VARCHAR ( 1000 ),
- BEGIN_TIME DATETIME,
- END_TIME DATETIME,
- SENDER VARCHAR ( 1000 ),
- NOTE VARCHAR ( 1000 ),
- CONSTRAINT PK_T_WORK_RECORD132 PRIMARY KEY (ID)
- )
- ;
- CREATE TABLE T_TASK (
- TASK_ID NUMERIC ( 11 ) NOT NULL,
- TASK_NAME VARCHAR ( 200 ),
- TASK_CONTENT VARCHAR ( 2000 ),
- START_DATE DATETIME,
- END_DATE DATETIME,
- TASK_IMPORT VARCHAR ( 200 ),
- TASK_VISIBLE NUMERIC ( 1 ),
- COADJUTANT VARCHAR (200),
- CREATOR_ID NUMERIC ( 11 ),
- CREATE_DATE DATETIME,
- CONSTRAINT SYS_C005282 PRIMARY KEY (TASK_ID)
- )
- ;
- CREATE TABLE T_ARCHIVE (
- ARCHIVE_ID NUMERIC ( 11 ) NOT NULL,
- ARCHIVE_DISPLAY_ID VARCHAR ( 20 ),
- SAVE_ARCHIVE_DATE DATETIME,
- RECEIVER_ID NUMERIC ( 11 ),
- SENDER VARCHAR ( 50 ),
- CREATE_DATE DATETIME,
- ARCHIVE_TITLE VARCHAR ( 2000 ),
- ARCHIVE_KEYWORD VARCHAR ( 2000 ),
- CONTENTS VARCHAR ( 1000 ),
- SAFETY_LEVEL NUMERIC ( 1 ),
- COPY_PERMISSION NUMERIC ( 1 ),
- COPY_NUM NUMERIC ( 5 ),
- PRINT_PERMISSION NUMERIC ( 1 ),
- PRINT_NUM NUMERIC ( 5 ),
- LEND_PERMISSION NUMERIC ( 1 ),
- SEND_TO_VIEW_FLAG NUMERIC ( 1 ),
- LEADER_NOTES VARCHAR ( 2000 ),
- ARCHIVE_TYPE_ID NUMERIC ( 11 ),
- FILE_SOURCE_ID NUMERIC ( 11 ),
- SEQUENCE_ID NUMERIC ( 7 ),
- IS_BORROWED NUMERIC ( 1 ) DEFAULT 0
- ,
- CONSTRAINT PK_T_ARCHIVES28 PRIMARY KEY (ARCHIVE_ID)
- )
- ;
- CREATE TABLE T_SUBTASK_TYPE_SPEC (
- TYPE_ID NUMERIC ( 2 ) NOT NULL,
- TYPE_NAME VARCHAR ( 64 ) NOT NULL,
- CONSTRAINT TC_T_WORKFLOW_TYPE_SPEC168 UNIQUE (TYPE_ID),
- CONSTRAINT PK_T_WORKFLOW_TYPE_SPEC20 PRIMARY KEY (TYPE_ID)
- )
- ;
- CREATE TABLE T_PROJECT_CHANGE (
- PROJECT_ID FLOAT NOT NULL,
- PERSON_ID FLOAT,
- PROJECT_NAME VARCHAR ( 20 ),
- TOTAL_PRICE VARCHAR ( 20 ),
- COMPANY_ID FLOAT,
- STATUS VARCHAR ( 20 ),
- RESULT VARCHAR ( 20 ),
- REASON VARCHAR ( 20 ),
- DESCRIPTION VARCHAR ( 20 ),
- PLAYER VARCHAR ( 20 ),
- PARTNER VARCHAR ( 20 ),
- CHANGE VARCHAR ( 20 ),
- CREATOR_NO FLOAT,
- CONSTRAINT SYS_C005588 PRIMARY KEY (PROJECT_ID)
- )
- ;
- CREATE TABLE T_BUDGET (
- COMPONENT_ID NUMERIC ( 11 ) NOT NULL,
- COMPONENT_NAME VARCHAR ( 60 ),
- COMPONENT_STATUS NUMERIC ( 1 ) DEFAULT (1),
- COMPONENT_DESCRIPTION VARCHAR ( 500 ),
- CONSTRAINT BUDGET_COMPONENT_ID UNIQUE (COMPONENT_ID)
- )
- ;
- CREATE TABLE T_DEPT_MSG (
- DEPT_MSG_ID FLOAT NOT NULL,
- MSG_TITLE VARCHAR ( 20 ),
- MSG_BODY FLOAT,
- DEPT_ID FLOAT,
- CREATE_DATE DATETIME,
- CREATOR_ID VARCHAR ( 20 ),
- CONSTRAINT SYS_C005540 PRIMARY KEY (DEPT_MSG_ID)
- )
- ;
- CREATE TABLE T_PERSON_SENT_MSG (
- MSG_ID VARCHAR ( 20 ) NOT NULL,
- EMP_ID VARCHAR ( 20 ),
- IS_SENT FLOAT,
- MSG_TITLE VARCHAR ( 20 ),
- MSG_BODY VARCHAR ( 500 ),
- CONSTRAINT SYS_C005590 PRIMARY KEY (MSG_ID)
- )
- ;
- CREATE TABLE T_FILE (
- FILE_ID NUMERIC ( 10 ) NOT NULL,
- FILE_NAME VARCHAR ( 600 ),
- TITLE VARCHAR ( 300 ),
- DESCRIPTION VARCHAR ( 300 ),
- SENDER_ID NUMERIC ( 10 ),
- SEND_DATE DATETIME,
- CONSTRAINT SYS_C006351 PRIMARY KEY (FILE_ID)
- )
- ;
- CREATE TABLE T_DIRECTORIES (
- DIRECTORY_ID NUMERIC ( 11 ) NOT NULL,
- DIRECTORY_NAME VARCHAR ( 255 ) NOT NULL,
- SUPER_DIRECTORY_ID NUMERIC ( 11 ),
- OWNER_ID NUMERIC ( 11 ),
- IS_LEAF NUMERIC ( 1 ) DEFAULT 0,
- CREATE_DATE DATETIME,
- WRITE_CONTROL NUMERIC ( 1 ) DEFAULT 0,
- READ_CONTROL NUMERIC ( 1 ) DEFAULT 0,
- TYPE NUMERIC ( 1 ) DEFAULT 0,
- CONSTRAINT UK_T_DIRECTORIES6 UNIQUE (DIRECTORY_NAME, SUPER_DIRECTORY_ID),
- CONSTRAINT PK_T_DIRECTORIES12 PRIMARY KEY (DIRECTORY_ID)
- )
- ;
- CREATE TABLE JIVETHREAD (
- THREADID FLOAT NOT NULL,
- FORUMID FLOAT NOT NULL,
- ROOTMESSAGEID FLOAT NOT NULL,
- CREATIONDATE VARCHAR ( 15 ) NOT NULL,
- MODIFIEDDATE VARCHAR ( 15 ) NOT NULL,
- APPROVED FLOAT NOT NULL,
- CONSTRAINT SYS_C006114 PRIMARY KEY (THREADID)
- )
- ;
- CREATE TABLE T_PERSON_MSG (
- PERSON_MSG_ID FLOAT NOT NULL,
- MSG_TITLE VARCHAR ( 20 ),
- MSG_BODY VARCHAR ( 20 ),
- WRITE_DATE CHAR ( 18 ),
- CONSTRAINT SYS_C005594 PRIMARY KEY (PERSON_MSG_ID)
- )
- ;
- CREATE TABLE T_PECCANCY (
- ID FLOAT NOT NULL,
- EMP_ID FLOAT NOT NULL,
- TIME DATETIME,
- SITE VARCHAR ( 1000 ),
- SEVERITY_LEVEL VARCHAR ( 100 ),
- REASON VARCHAR ( 1000 ),
- PUNISHMENT VARCHAR ( 1000 ),
- NOTE VARCHAR ( 1000 ),
- AUTOMOBILE_ID NUMERIC ( 11 ) NOT NULL,
- CONSTRAINT PK_T_PECCANCY130 PRIMARY KEY (ID)
- )
- ;
- CREATE TABLE JIVEMESSAGETREE (
- PARENTID FLOAT NOT NULL,
- CHILDID FLOAT NOT NULL,
- CONSTRAINT SYS_C006103 PRIMARY KEY (PARENTID, CHILDID)
- )
- ;
- CREATE TABLE T_CONTACT_COMPANY (
- COMPANY_ID FLOAT NOT NULL,
- COMPANY_NAME CHAR ( 18 ),
- ADDRESS VARCHAR,
- ZIP_CODE VARCHAR,
- COUNTRY VARCHAR ( 20 ),
- PROVINCE VARCHAR ( 20 ),
- CITY VARCHAR ( 20 ),
- WWW_URL VARCHAR ( 20 ),
- DESCRIPTION VARCHAR ( 20 ),
- BANK_NO VARCHAR ( 20 ),
- TAX_NO CHAR ( 18 ),
- CONSTRAINT SYS_C005577 PRIMARY KEY (COMPANY_ID)
- )
- ;
- CREATE TABLE T_SALARY_ITEMS_LOG (
- SALARY_DATE VARCHAR ( 20 ) NOT NULL,
- ITEM_ID FLOAT NOT NULL,
- EMP_ID VARCHAR ( 20 ) NOT NULL,
- VALUE FLOAT,
- IS_PRINT FLOAT,
- CONSTRAINT SYS_C005523 PRIMARY KEY (SALARY_DATE, ITEM_ID, EMP_ID)
- )
- ;
- CREATE TABLE T_EMP_CHECK (
- EMP_ID VARCHAR ( 20 ) NOT NULL,
- CHECK_DATE DATETIME NOT NULL,
- PERFORMANCE_VALUE FLOAT,
- CONSTRAINT SYS_C005531 PRIMARY KEY (EMP_ID, CHECK_DATE)
- )
- ;
- CREATE TABLE T_WORKFLOW_SECURITY_TYPE (
- ID NUMERIC ( 5 ) NOT NULL,
- NAME VARCHAR ( 64 ) NOT NULL,
- CONSTRAINT PK_SECURITY_TYPE20 PRIMARY KEY (ID)
- )
- ;
- CREATE TABLE T_EQUIPMENT_REPAIR_RECORD (
- EQUIPMENT_ID NUMERIC ( 11 ) NOT NULL,
- ID NUMERIC ( 11 ) NOT NULL,
- TIME DATETIME NOT NULL,
- USE_DEPT_ID NUMERIC ( 11 ) NOT NULL,
- USE_PERSON_ID NUMERIC ( 11 ),
- REPAIRER VARCHAR ( 200 ),
- REPAIR_REASON VARCHAR ( 200 ),
- EXPENSE NUMERIC ( 10, 2 ),
- RESULT VARCHAR ( 200 ),
- CONSTRAINT PK_T_EQUIPMENT_REPAIR_RECOR3 PRIMARY KEY (EQUIPMENT_ID, ID)
- )
- ;
- CREATE TABLE T_SALARY_LOG (
- SALARY_DATE VARCHAR ( 20 ) NOT NULL,
- EMP_ID VARCHAR ( 20 ) NOT NULL,
- SALARY FLOAT,
- ISSUE_DATE DATETIME,
- CONSTRAINT SYS_C005509 PRIMARY KEY (SALARY_DATE, EMP_ID)
- )
- ;
- CREATE TABLE T_MSG_RECEIVERS (
- MSG_ID VARCHAR ( 20 ) NOT NULL,
- EMP_ID VARCHAR ( 20 ),
- CONSTRAINT SYS_C005592 PRIMARY KEY (MSG_ID)
- )
- ;
- CREATE TABLE T_EQUIPMENT_PERSON_CONF (
- EMP_NO FLOAT NOT NULL,
- APPOINT_TIME_ZONE FLOAT,
- EQUIPMENT_GROUP_ROW_NUM FLOAT,
- DISPLAY_POSITION FLOAT,
- CONSTRAINT SYS_C005575 PRIMARY KEY (EMP_NO)
- )
- ;
- CREATE TABLE T_DRIVER (
- EMP_ID FLOAT NOT NULL,
- LICENCE_NO VARCHAR ( 100 ) NOT NULL,
- TYPE_PERMITED VARCHAR ( 100 ),
- ADDRESS_ISSUED VARCHAR ( 1000 ),
- TIME_ISSUED DATETIME,
- NEXT_TIME DATETIME,
- NOTE VARCHAR ( 1000 ),
- CONSTRAINT PK_T_DRIVER129 PRIMARY KEY (EMP_ID)
- )
- ;
- CREATE TABLE T_EXECUTOR_STATUS_SPEC (
- STATUS_ID NUMERIC ( 10 ) NOT NULL,
- STATUS_NAME VARCHAR ( 64 ) NOT NULL,
- CONSTRAINT TC_T_EXECUTOR_STATUS_SPEC169 UNIQUE (STATUS_ID),
- CONSTRAINT PK_T_EXECUTOR_STATUS_SPEC21 PRIMARY KEY (STATUS_ID)
- )
- ;
- CREATE TABLE T_BULLETIN (
- BULLETIN_ID NUMERIC ( 11 ) NOT NULL,
- BULLETIN_TITLE VARCHAR ( 200 ) NOT NULL,
- BULLETIN_BODY VARCHAR ( 3000 ),
- DEPT_ID NUMERIC ( 11 ) NOT NULL,
- CREATE_DATE DATETIME NOT NULL,
- CREATOR_ID NUMERIC ( 11 ) NOT NULL,
- END_DATE DATETIME,
- IS_SCROLL_TEXT NUMERIC (11) NULL ,
- IS_SET_TO_SCROLL NUMERIC (18, 0) NULL,
- CONSTRAINT PK_T_BULLETIN0 PRIMARY KEY (BULLETIN_ID)
- )
- ;
- CREATE TABLE T_WORKFLOW_TYPE_SPEC (
- TYPE_ID NUMERIC ( 10 ) NOT NULL,
- TYPE_NAME VARCHAR ( 100 ) NOT NULL,
- CONSTRAINT PK_T_WORKFLOW_TYPE_SPEC24 PRIMARY KEY (TYPE_ID)
- )
- ;
- CREATE TABLE JIVEMESSAGEPROP (
- MESSAGEID FLOAT NOT NULL,
- NAME VARCHAR ( 50 ) NOT NULL,
- PROPVALUE VARCHAR ( 255 ) NOT NULL,
- CONSTRAINT SYS_C006107 PRIMARY KEY (MESSAGEID, NAME)
- )
- ;
- CREATE TABLE T_BUDGET_LIST (
- MONTH VARCHAR ( 8 ) NOT NULL,
- DIVISION_ID NUMERIC ( 11 ) NOT NULL,
- COMPONENT_ID NUMERIC ( 11 ) NOT NULL,
- BUDGET NUMERIC ( 15, 2 ),
- ACTUAL NUMERIC ( 15, 2 ),
- BALANCE NUMERIC ( 15, 2 ),
- DESCRIPTION VARCHAR ( 500 ),
- STATUS NUMERIC ( 1 ) DEFAULT 0
- )
- ;
- CREATE TABLE T_EQUIPMENT_USE_RECORD (
- EQUIPMENT_ID NUMERIC ( 11 ) NOT NULL,
- ID NUMERIC ( 11 ) NOT NULL,
- START_TIME DATETIME NOT NULL,
- END_TIME DATETIME,
- USE_DEPT_ID NUMERIC ( 11 ) NOT NULL,
- USE_PERSON_ID NUMERIC ( 11 ),
- CONSTRAINT PK_T_EQUIPMENT_USE_RECORD2 PRIMARY KEY (EQUIPMENT_ID, ID)
- )
- ;
- CREATE TABLE T_BOARDROOM_STATUS (
- STATUS_ID NUMERIC ( 1 ) NOT NULL,
- STATUS_NAME VARCHAR ( 100 ) NOT NULL,
- DESCRIPTION VARCHAR ( 1000 ) NOT NULL,
- CONSTRAINT PK_T_BORDROOM_STATUS131 PRIMARY KEY (STATUS_ID)
- )
- ;
- CREATE TABLE T_E_MEETING_ROOM (
- E_MEETING_ROOM_ID FLOAT NOT NULL,
- E_MEETING_ROOM_NAME CHAR ( 18 ),
- CREATOR_NO FLOAT,
- ATTRIBUTE VARCHAR ( 20 ),
- CONSTRAINT SYS_C005542 PRIMARY KEY (E_MEETING_ROOM_ID)
- )
- ;
- CREATE TABLE JIVEUSERPROP (
- USERID FLOAT NOT NULL,
- NAME VARCHAR ( 30 ) NOT NULL,
- PROPVALUE VARCHAR ( 255 ) NOT NULL,
- CONSTRAINT SYS_C006129 PRIMARY KEY (USERID, NAME)
- )
- ;
- CREATE TABLE JIVEGROUPUSER (
- GROUPID FLOAT NOT NULL,
- USERID FLOAT NOT NULL,
- ADMINISTRATOR FLOAT NOT NULL,
- CONSTRAINT SYS_C006094 PRIMARY KEY (GROUPID, USERID)
- )
- ;
- CREATE TABLE T_FILES (
- DIRECTORY_ID NUMERIC ( 11 ) NOT NULL,
- LOCATION VARCHAR ( 250 ),
- FILE_BODY BINARY,
- STORAGE_TYPE NUMERIC ( 1 ) DEFAULT 0,
- CONSTRAINT TC_35 PRIMARY KEY (DIRECTORY_ID)
- )
- ;
- CREATE TABLE T_AUTOMOBILE_BOOKING_STATUS (
- STATUS_ID NUMERIC ( 5 ) NOT NULL,
- STATUS_NAME VARCHAR ( 256 ) NOT NULL,
- CONSTRAINT PK_T_AUTOMOBILE_BOOKING_STA127 PRIMARY KEY (STATUS_ID)
- )
- ;
- CREATE TABLE T_PROJECT (
- WORKFLOW_ID NUMERIC ( 10 ) NOT NULL,
- PLAN_BEGIN_DATE DATETIME,
- PLAN_END_DATE DATETIME,
- CONSTRAINT PK_T_PROJECT25 PRIMARY KEY (WORKFLOW_ID),
- CONSTRAINT TC_PROJECT40 UNIQUE (WORKFLOW_ID)
- )
- ;
- CREATE TABLE T_SALARY_TEMPLATE (
- EMP_ID VARCHAR ( 20 ) NOT NULL,
- TOTAL_SALARY FLOAT,
- CONSTRAINT SYS_C005506 PRIMARY KEY (EMP_ID)
- )
- ;
- CREATE TABLE JIVEFILTER (
- FILTEROBJECT BINARY ,
- FORUMID FLOAT NOT NULL,
- FILTERINDEX FLOAT NOT NULL,
- CONSTRAINT SYS_C006076 PRIMARY KEY (FORUMID, FILTERINDEX)
- )
- ;
- CREATE TABLE JIVEUSER (
- USERID INT NOT NULL,
- NAME VARCHAR(80),
- USERNAME VARCHAR(80) NOT NULL,
- PASSWORDHASH VARCHAR(32) NOT NULL,
- EMAIL VARCHAR(30) NOT NULL,
- EMAILVISIBLE INT NOT NULL,
- NAMEVISIBLE INT NOT NULL,
- CONSTRAINT SYS_C006121 PRIMARY KEY (USERID)
- )
- ;
- CREATE TABLE T_PASS_READ_PASSING_BOX (
- ARTICAL_ID FLOAT NOT NULL,
- EMP_NO FLOAT,
- CONSTRAINT SYS_C005557 PRIMARY KEY (ARTICAL_ID)
- )
- ;
- CREATE TABLE T_BORROW_RECORD (
- BORROW_ID NUMERIC ( 11 ) NOT NULL,
- BORROWER_ID NUMERIC ( 11 ) NOT NULL,
- BORROW_DATE DATETIME NOT NULL,
- RETURN_DATE DATETIME NOT NULL,
- ARCHIVE_ID NUMERIC ( 11 ) NOT NULL,
- BORROW_FLAG NUMERIC ( 1 ) DEFAULT 0,
- CONSTRAINT PK_T_BORROW_RECORD25 PRIMARY KEY (BORROW_ID)
- )
- ;
- CREATE TABLE T_CONTACT_PERSON (
- PERSON_ID FLOAT NOT NULL,
- COMPANY_ID FLOAT,
- PERSON_NAME CHAR ( 18 ),
- TITLE VARCHAR ( 20 ),
- DEPT_NAME VARCHAR ( 20 ),
- CALL_NAME VARCHAR ( 20 ),
- EMAIL VARCHAR ( 20 ),
- TELEPHONE VARCHAR ( 20 ),
- FAX VARCHAR ( 20 ),
- PAGER VARCHAR ( 20 ),
- MOBILE_PHONE CHAR ( 18 ),
- HOME_TELEPHONE VARCHAR ( 20 ),
- CONTACT_TYPE VARCHAR ( 20 ),
- INTRESTING_DEGREE VARCHAR ( 20 ),
- COME_FROM VARCHAR ( 20 ),
- CONSTRAINT SYS_C005579 PRIMARY KEY (PERSON_ID)
- )
- ;
- CREATE TABLE T_RETURN_RECORD (
- RETURN_ID NUMERIC ( 11 ) NOT NULL,
- BORROW_ID NUMERIC ( 11 ) NOT NULL,
- BORROWER_ID NUMERIC ( 11 ) NOT NULL,
- RETURN_DATE DATETIME NOT NULL,
- DESCRIPTION VARCHAR ( 1000 ),
- RECEIVER_ID NUMERIC ( 11 ) NOT NULL,
- ARCHIVE_ID NUMERIC ( 11 ) NOT NULL,
- CONSTRAINT PK_T_RETURN_RECORD26 PRIMARY KEY (RETURN_ID)
- )
- ;
- CREATE TABLE JIVEMESSAGE (
- MESSAGEID FLOAT NOT NULL,
- THREADID FLOAT DEFAULT -1,
- SUBJECT VARCHAR ( 255 ),
- USERID FLOAT NOT NULL,
- BODY TEXT,
- MODIFIEDDATE VARCHAR ( 15 ) NOT NULL,
- CREATIONDATE VARCHAR ( 15 ) NOT NULL,
- APPROVED FLOAT NOT NULL,
- CONSTRAINT SYS_C006100 PRIMARY KEY (MESSAGEID)
- )
- ;
- CREATE TABLE T_PASS_READ_ARTICAL (
- ARTICAL_ID FLOAT NOT NULL,
- ARTICAL_NAME VARCHAR ( 20 ),
- ARTICAL_SUMMARY VARCHAR ( 20 ),
- ARTICAL_BODY VARCHAR,
- STATUS_ID FLOAT,
- CONSTRAINT SYS_C005551 PRIMARY KEY (ARTICAL_ID)
- )
- ;
- CREATE TABLE HR_TRAIN (
- TRAIN_ID NUMERIC ( 5 ) NOT NULL,
- TRAIN_NAME VARCHAR ( 200 ),
- DD_TRAIN_ID NUMERIC ( 5 ),
- TRAIN_SUBJECT VARCHAR ( 200 ),
- TRAIN_TYPE VARCHAR ( 40 ),
- TRAIN_STARTDATE DATETIME,
- TRAIN_ENDDATE DATETIME,
- TRAIN_TEACHER VARCHAR ( 200 ),
- TRAIN_ADDRESS VARCHAR ( 200 ),
- TRAIN_NOTE VARCHAR ( 200 ),
- TRAIN_DIVISION VARCHAR ( 200 ),
- CONSTRAINT SYS_C005481 PRIMARY KEY (TRAIN_ID)
- )
- ;
- CREATE TABLE T_DRIVING_FEE (
- ID FLOAT NOT NULL,
- EMP_ID FLOAT NOT NULL,
- AUTOMOBILE_ID NUMERIC ( 11 ) NOT NULL,
- YEAR FLOAT NOT NULL,
- MONTH FLOAT NOT NULL,
- BASE_ODOMETER FLOAT ( 4 ),
- ODOMETER FLOAT ( 4 ),
- OIL FLOAT ( 4 ),
- OIL_FEE FLOAT ( 4 ),
- DRIVING_FEE FLOAT ( 4 ),
- MAINTAIN_FEE FLOAT ( 4 ),
- NOTE VARCHAR ( 1000 ),
- CONSTRAINT PK_T_DRIVING_FEE133 PRIMARY KEY (ID)
- )
- ;
- CREATE TABLE T_BOARDROOM (
- BOARDROOM_ID NUMERIC(10) NOT NULL,
- CODE VARCHAR(1000) NOT NULL,
- NAME VARCHAR(1000) NOT NULL,
- CREATOR NUMERIC(10),
- CREATION_DATE DATETIME,
- MODIFIER NUMERIC(10),
- MODIFY_DATE DATETIME,
- POSITION VARCHAR(1000),
- SEAT_AMOUNT NUMERIC(10),
- ADMINISTRATOR NUMERIC(10),
- DEVICES VARCHAR(2000),
- DESCRIPTION VARCHAR(2000),
- STATUS_ID NUMERIC(1) NOT NULL,
- BOOKED_COUNT NUMERIC(5),
- CONSTRAINT PK_T_BOARDROOM124 PRIMARY KEY (BOARDROOM_ID)
- )
- ;
- CREATE TABLE T_WORKFLOW_DISPATCH (
- WORKFLOW_ID NUMERIC ( 10 ) NOT NULL,
- WORKFLOW_TEMPLATE_ID NUMERIC ( 5 ) NOT NULL,
- SAVE_DEPT_ID NUMERIC ( 5 ) NOT NULL,
- ID NUMERIC ( 5 ),
- SECURITY_ID NUMERIC ( 5 ),
- KEYWORD VARCHAR ( 2000 ),
- INSTANCY_ID NUMERIC ( 5 ),
- CONSTRAINT PK_T_WORKFLOW_DISPATCH24 PRIMARY KEY (WORKFLOW_ID),
- CONSTRAINT TC_DISPATCH41 UNIQUE (WORKFLOW_ID)
- )
- ;
- CREATE TABLE HR_MEMBER_PRIVATE_INFO (
- EMP_ID NUMERIC(11) NOT NULL,
- MEMBER_COUNTRY VARCHAR(40),
- MEMBER_PROVINCE VARCHAR(40),
- MEMBER_COUNTY VARCHAR(40),
- MEMBER_STREET VARCHAR(120),
- MEMBER_POSTCODE VARCHAR(12),
- MEMBER_BIRTHDATE DATETIME,
- DD_PARTY_ID NUMERIC(5),
- MEMBER_IDCARD VARCHAR(36),
- MEMBER_NATION VARCHAR(40),
- MEMBER_HOMEPHONE1 VARCHAR(80),
- MEMBER_HOMEPHONE2 VARCHAR(80),
- MEMBER_ORIGNAL VARCHAR(40),
- MEMBER_PIC VARCHAR(100),
- MEMBER_NOTE VARCHAR(400),
- CONSTRAINT SYS_C005499 PRIMARY KEY (EMP_ID)
- )
- ;
- CREATE TABLE HR_SALARY_LIST (
- EMP_ID NUMERIC ( 11 ) NOT NULL,
- SALARY_DATE DATETIME NOT NULL,
- NAME VARCHAR ( 40 ),
- COMPONENT_ID NUMERIC ( 5 ) NOT NULL,
- COUNT NUMERIC ( 8, 2 ),
- CONSTRAINT SYS_C005957 PRIMARY KEY (EMP_ID, SALARY_DATE, COMPONENT_ID)
- )
- ;
- CREATE TABLE T_OFF_DUTY_LOG (
- EMP_ID VARCHAR ( 20 ) NOT NULL,
- WORK_DATE DATETIME NOT NULL,
- START_TIME DATETIME,
- END_TIME DATETIME,
- CONSTRAINT SYS_C005512 PRIMARY KEY (EMP_ID, WORK_DATE)
- )
- ;
- CREATE TABLE T_TOPIC_X_MEETING_ROOM (
- E_MEETING_ROOM_ID FLOAT NOT NULL,
- TOPIC_ID FLOAT NOT NULL,
- CONSTRAINT SYS_C005549 PRIMARY KEY (E_MEETING_ROOM_ID, TOPIC_ID)
- )
- ;
- CREATE TABLE JIVEFORUM (
- FORUMID FLOAT NOT NULL,
- NAME VARCHAR ( 255 ),
- DESCRIPTION VARCHAR ( 2000 ),
- MODIFIEDDATE VARCHAR ( 15 ),
- CREATIONDATE VARCHAR ( 15 ),
- MODERATED FLOAT NOT NULL,
- CONSTRAINT SYS_C006079 PRIMARY KEY (FORUMID)
- )
- ;
- CREATE TABLE T_E_MEETING_MESSAGE (
- MESSAGE_ID VARCHAR ( 20 ) NOT NULL,
- TOPIC_ID FLOAT,
- E_MEETING_ROOM_ID FLOAT,
- MESSAGE_SUMMARY VARCHAR ( 20 ),
- MESSAGE_BODY VARCHAR ( 1000 ),
- SENDER_NO FLOAT,
- REPLY_ID FLOAT,
- CONSTRAINT SYS_C005546 PRIMARY KEY (MESSAGE_ID)
- )
- ;
- CREATE TABLE T_ADDRESSLIST_BOOK (
- CONTACT_ID NUMERIC ( 11 ) NOT NULL,
- EMP_ID NUMERIC ( 11 ) NOT NULL,
- NAME VARCHAR ( 50 ),
- NICK_NAME VARCHAR ( 50 ),
- BIRTHDAY DATETIME,
- GENDER NUMERIC ( 1 ),
- EMAIL_ADDRESS VARCHAR ( 100 ),
- ANOTHER_EMAIL VARCHAR ( 100 ),
- PERSONAL_URL VARCHAR ( 100 ),
- OICQ_NUM VARCHAR ( 50 ),
- PAGER_NUM VARCHAR ( 100 ),
- MOBILE_NUM VARCHAR ( 100 ),
- HOME_ADDRESS VARCHAR ( 500 ),
- HOME_PC VARCHAR ( 24 ),
- HOME_TELE_NUM VARCHAR ( 100 ),
- UNIT VARCHAR ( 100 ),
- POSITION VARCHAR ( 50 ),
- UNIT_ADDRESS VARCHAR ( 500 ),
- UNIT_TELE_NUM VARCHAR ( 100 ),
- UNIT_PC VARCHAR ( 24 ),
- UNIT_FAX_NUM VARCHAR ( 100 ),
- NOTES VARCHAR ( 2000 ),
- CONSTRAINT PK_T_ADDRESSLIST_BOOK124 PRIMARY KEY (CONTACT_ID)
- )
- ;
- CREATE TABLE T_EQUIPMENT_GROUP (
- GROUP_ID FLOAT NOT NULL,
- GROUP_NAME VARCHAR ( 20 ),
- GROUP_DESCRIPTION VARCHAR ( 20 ),
- CONSTRAINT SYS_C005566 PRIMARY KEY (GROUP_ID)
- )
- ;
- CREATE TABLE T_MSG_ATTACHMENT (
- FILE_ID NUMERIC(11) NULL ,
- FILE_LOCATION VARCHAR (800) NULL ,
- COUNTER NUMERIC(11) NULL
- )
- ;
- CREATE TABLE T_MSG_X_REC_ATTACHMENT (
- FILE_ID NUMERIC(11) NULL ,
- MSG_ID NUMERIC(11) NULL ,
- EMP_ID NUMERIC(11) NULL
- )
- ;
- CREATE TABLE T_MSG_X_SEND_ATTACHMENT (
- MSG_ID NUMERIC(11) NOT NULL ,
- FILE_ID NUMERIC(11) NOT NULL
- )
- ;
- CREATE TABLE T_DIV_ATT_TIME(
- DIVISION_ID NUMERIC(11) NOT NULL,
- ON_DUTY_HOUR NUMERIC(11) ,
- ON_DUTY_MINUTE NUMERIC(11) ,
- OFF_DUTY_HOUR NUMERIC(11) ,
- OFF_DUTY_MINUTE NUMERIC(11)
- )
- ;
- CREATE TABLE T_DIV_ATT_MODE(
- ON_DUTY_MODE VARCHAR(100) ,
- OFF_DUTY_MODE VARCHAR(100)
- )
- ;
- ALTER TABLE T_TRAINING_ATTANDENCE ADD CONSTRAINT SYS_C005614 FOREIGN KEY (TRAINNING_ID) REFERENCES T_TRAINNING_PROJECT (TRAINNING_ID)
- ;
- ALTER TABLE T_EQUIPMENT ADD CONSTRAINT T_EQUIPMENT_FK_C_I FOREIGN KEY (CATEGORY_ID) REFERENCES T_CATEGORY (CATEGORY_ID)
- ;
- ALTER TABLE T_EMP_X_DUTY ADD CONSTRAINT SYS_C005198 FOREIGN KEY (DUTY_ID) REFERENCES T_DUTY (DUTY_ID)
- ;
- ALTER TABLE T_ADDRESSLIST_EMPLOYE ADD CONSTRAINT SYS_C005788 FOREIGN KEY (COMPANY_ID) REFERENCES T_ADDRESSLIST (COMPANY_ID)
- ;
- ALTER TABLE T_SALARY_ITEMS ADD CONSTRAINT SYS_C005611 FOREIGN KEY (EMP_ID) REFERENCES T_SALARY_TEMPLATE (EMP_ID)
- ;
- ALTER TABLE T_SALARY_ITEMS ADD CONSTRAINT SYS_C005610 FOREIGN KEY (ITEM_ID) REFERENCES T_SALARY_ITEMS_SPEC (ITEM_ID)
- ;
- ALTER TABLE T_CATEGORY ADD CONSTRAINT T_CATEGORY_FK FOREIGN KEY (PARENT_ID) REFERENCES T_CATEGORY (CATEGORY_ID)
- ;
- ALTER TABLE T_PASS_READ_SENT_BOX ADD CONSTRAINT SYS_C005621 FOREIGN KEY (ARTICAL_ID) REFERENCES T_PASS_READ_ARTICAL (ARTICAL_ID)
- ;
- ALTER TABLE T_DOCUMENTATION ADD CONSTRAINT SYS_C005629 FOREIGN KEY (PERSON_ID) REFERENCES T_CONTACT_PERSON (PERSON_ID)
- ;
- ALTER TABLE T_SUBTASK_X_FILE ADD CONSTRAINT SYS_C006353 FOREIGN KEY (FILE_ID) REFERENCES T_FILE (FILE_ID)
- ;
- ALTER TABLE T_SUBTASK_X_FILE ADD CONSTRAINT SYS_C06364 FOREIGN KEY (ID) REFERENCES T_SUBTASK (SUB_TASK_ID)
- ;
- ALTER TABLE T_CONTACT_TASK ADD CONSTRAINT SYS_C005627 FOREIGN KEY (PERSON_ID) REFERENCES T_CONTACT_PERSON (PERSON_ID)
- ;
- ALTER TABLE T_AUTOMOBILE ADD CONSTRAINT FK_T_AUTOMOBILE109 FOREIGN KEY (TYPE_ID) REFERENCES T_AUTOMOBILE_TYPE (TYPE_ID)
- ;
- ALTER TABLE T_PASS_READ_INBOX ADD CONSTRAINT SYS_C005620 FOREIGN KEY (ARTICAL_ID) REFERENCES T_PASS_READ_ARTICAL (ARTICAL_ID)
- ;
- ALTER TABLE T_PASS_READ_LOG ADD CONSTRAINT SYS_C005625 FOREIGN KEY (ARTICAL_ID) REFERENCES T_PASS_READ_ARTICAL (ARTICAL_ID)
- ;
- ALTER TABLE T_DRIVER_X_AUTOMOBILE ADD CONSTRAINT FK_T_DRIVER_X_AUTOMOBILE4 FOREIGN KEY (EMP_ID) REFERENCES T_DRIVER (EMP_ID)
- ;
- ALTER TABLE T_DRIVER_X_AUTOMOBILE ADD CONSTRAINT FK_T_DRIVER_X_AUTOMOBILE5 FOREIGN KEY (AUTOMOBILE_ID) REFERENCES T_AUTOMOBILE (AUTOMOBILE_ID)
- ;
- ALTER TABLE T_AUTOMOBILE_BOOKING ADD CONSTRAINT FK_T_AUTOMOBILE_BOOKING103 FOREIGN KEY (AUTOMOBILE_ID) REFERENCES T_AUTOMOBILE (AUTOMOBILE_ID)
- ;
- ALTER TABLE T_AUTOMOBILE_BOOKING ADD CONSTRAINT FK_T_AUTOMOBILE_BOOKING1 FOREIGN KEY (STATUS_ID) REFERENCES T_AUTOMOBILE_BOOKING_STATUS (STATUS_ID)
- ;
- ALTER TABLE T_PASS_READ_RECYLE_BOX ADD CONSTRAINT SYS_C005624 FOREIGN KEY (ARTICAL_ID) REFERENCES T_PASS_READ_ARTICAL (ARTICAL_ID)
- ;
- ALTER TABLE HR_FORMAL ADD CONSTRAINT SYS_C005828 FOREIGN KEY (EMP_ID) REFERENCES T_EMP (EMP_ID)
- ;
- ALTER TABLE T_EMP ADD CONSTRAINT SYS_C005812 FOREIGN KEY (EMP_ID) REFERENCES T_EMP (EMP_ID)
- --;
- --ALTER TABLE T_EMP ADD CONSTRAINT SYS_C005813 FOREIGN KEY (DIVISION_ID) REFERENCES T_DIVISION (DIVISION_ID)
- ;
- ALTER TABLE T_CONTACT_X_GROUP ADD CONSTRAINT FK_T_X_CONTACT_GROUP102 FOREIGN KEY (CONTACT_ID) REFERENCES T_ADDRESSLIST_BOOK (CONTACT_ID)
- ;
- ALTER TABLE T_CONTACT_X_GROUP ADD CONSTRAINT FK_T_X_CONTACT_GROUP103 FOREIGN KEY (GROUP_ID) REFERENCES T_ADDRESSLIST_GROUP (GROUP_ID)
- ;
- ALTER TABLE T_DUTY_X_PRIVILEGE ADD CONSTRAINT SYS_C005189 FOREIGN KEY (DUTY_ID) REFERENCES T_DUTY (DUTY_ID)
- ;
- ALTER TABLE T_DUTY_X_PRIVILEGE ADD CONSTRAINT SYS_C005188 FOREIGN KEY (PRIVILEGE_ID) REFERENCES T_PRIVILEGE (PRIVILEGE_ID)
- ;
- ALTER TABLE T_PASS_READ_OVER_BOX ADD CONSTRAINT SYS_C005623 FOREIGN KEY (ARTICAL_ID) REFERENCES T_PASS_READ_ARTICAL (ARTICAL_ID)
- ;
- ALTER TABLE T_TASK_ATTACHMENT ADD CONSTRAINT SYS_C005286 FOREIGN KEY (TASK_ID) REFERENCES T_TASK (TASK_ID)
- ;
- ALTER TABLE T_DUTY ADD CONSTRAINT SYS_C005184 FOREIGN KEY (DIVISION_ID) REFERENCES T_DIVISION (DIVISION_ID)
- ;
- ALTER TABLE T_DIVISION ADD CONSTRAINT SYS_C005595 FOREIGN KEY (DIVISION_ID) REFERENCES T_DIVISION (DIVISION_ID)
- ;
- ALTER TABLE T_DIVISION ADD CONSTRAINT SYS_C005164 FOREIGN KEY (P_DIVISION_ID) REFERENCES T_DIVISION (DIVISION_ID)
- ;
- ALTER TABLE HR_CONTRACT ADD CONSTRAINT SYS_C005817 FOREIGN KEY (EMP_ID) REFERENCES T_EMP (EMP_ID)
- ;
- ALTER TABLE HR_CONTRACT ADD CONSTRAINT SYS_C005816 FOREIGN KEY (CONTRACT_CURRENCY) REFERENCES HR_DD (DD_ID)
- ;
- ALTER TABLE T_SUBTASK ADD CONSTRAINT FK_T_SUBTASK30 FOREIGN KEY (TYPE_ID) REFERENCES T_SUBTASK_TYPE_SPEC (TYPE_ID)
- ;
- ALTER TABLE T_SUBTASK ADD CONSTRAINT FK_SUBTASKS0 FOREIGN KEY (WORKFLOW_ID) REFERENCES T_WORKFLOW (WORKFLOW_ID)
- ;
- ALTER TABLE T_SUBTASK ADD CONSTRAINT FK_T_SUBTASK25 FOREIGN KEY (STATUS_ID) REFERENCES T_SUBTASK_STATUS_SPEC (STATUS_ID)
- ;
- ALTER TABLE T_ACCIDENT ADD CONSTRAINT FK_T_ACCIDENT105 FOREIGN KEY (EMP_ID) REFERENCES T_DRIVER (EMP_ID)
- ;
- ALTER TABLE T_ACCIDENT ADD CONSTRAINT FK_T_ACCIDENT3 FOREIGN KEY (AUTOMOBILE_ID) REFERENCES T_AUTOMOBILE (AUTOMOBILE_ID)
- ;
- ALTER TABLE T_SAFETY_DRIVING ADD CONSTRAINT FK_T_SAFTY_DRIVING1 FOREIGN KEY (ID) REFERENCES T_DRIVING_FEE (ID)
- ;
- ALTER TABLE T_SUBTASK_TEMPLATE ADD CONSTRAINT FK_T_SUBTASK_TEMPLATE32 FOREIGN KEY (WORKFLOW_ID) REFERENCES T_WORKFLOW_TEMPLATE (WORKFLOW_ID)
- ;
- ALTER TABLE T_SUBTASK_TEMPLATE ADD CONSTRAINT FK_T_SUBTASK_TEMPLATE36 FOREIGN KEY (TYPE_ID) REFERENCES T_SUBTASK_TYPE_SPEC (TYPE_ID)
- ;
- ALTER TABLE T_CONTACT_PERSON_NOTES ADD CONSTRAINT SYS_C005628 FOREIGN KEY (PERSON_ID) REFERENCES T_CONTACT_PERSON (PERSON_ID)
- ;
- ALTER TABLE T_WORKFLOW_TEMPLATE ADD CONSTRAINT FK_T_WORKFLOW_TEMPLATE33 FOREIGN KEY (TYPE_ID) REFERENCES T_WORKFLOW_TEMPLATE_TYPE_SPEC (TYPE_ID)
- ;
- ALTER TABLE T_EMPLOYEE_X_GROUP ADD CONSTRAINT FK_T_EMPLOYEE_X_GROUP102 FOREIGN KEY (GROUP_ID) REFERENCES T_EMPLOYEE_GROUP (GROUP_ID)
- ;
- ALTER TABLE T_AUTOMOBILE_MAINTAIN ADD CONSTRAINT FK_T_AUTOMOBILE_MAINTAIN102 FOREIGN KEY (AUTOMOBILE_ID) REFERENCES T_AUTOMOBILE (AUTOMOBILE_ID)
- ;
- ALTER TABLE T_CONFERENCE_X_FILES ADD CONSTRAINT FK_T_CONFERENCE_X_FILES117 FOREIGN KEY (ID) REFERENCES T_CONFERENCE (CONFERENCE_ID)
- ;
- ALTER TABLE T_EXECUTOR_TEMPLATE ADD CONSTRAINT FK_T_EXECUTOR_TEMPATE31 FOREIGN KEY (SUBTASK_ID) REFERENCES T_SUBTASK_TEMPLATE (SUBTASK_ID)
- ;
- ALTER TABLE T_DOCRECEIVED_X_FILE ADD CONSTRAINT SYS_C006352 FOREIGN KEY (FILE_ID) REFERENCES T_FILE (FILE_ID)
- ;
- ALTER TABLE T_DOCRECEIVED_X_FILE ADD CONSTRAINT SYS_C006367 FOREIGN KEY (ID) REFERENCES T_DOC_RECEIVED (ID)
- ;
- ALTER TABLE T_WORKFLOW_TEMPLATE_X_FILE ADD CONSTRAINT SYS_C006354 FOREIGN KEY (FILE_ID) REFERENCES T_FILE (FILE_ID)
- ;
- ALTER TABLE T_WORKFLOW ADD CONSTRAINT FK_T_WORKFLOW27 FOREIGN KEY (STATUS_ID) REFERENCES T_WORKFLOW_STATUS_SPEC (STATUS_ID)
- ;
- ALTER TABLE T_WORKFLOW ADD CONSTRAINT FK_T_WORKFLOW35 FOREIGN KEY (TYPE_ID) REFERENCES T_WORKFLOW_TYPE_SPEC (TYPE_ID)
- ;
- ALTER TABLE HR_MEMBER_EDUCATIONAL_INFO ADD CONSTRAINT SYS_C005607 FOREIGN KEY (DD_EDULEVEL_ID) REFERENCES HR_DD (DD_ID)
- ;
- ALTER TABLE T_EXECUTOR ADD CONSTRAINT FK_T_EXECUTOR24 FOREIGN KEY (STATUS_ID) REFERENCES T_EXECUTOR_STATUS_SPEC (STATUS_ID)
- ;
- ALTER TABLE T_EXECUTOR ADD CONSTRAINT FK_EXECUTOR1 FOREIGN KEY (SUB_TASK_ID) REFERENCES T_SUBTASK (SUB_TASK_ID)
- ;
- ALTER TABLE HR_DEV_TRAIN ADD CONSTRAINT SYS_C005598 FOREIGN KEY (TRAIN_ID) REFERENCES HR_TRAIN (TRAIN_ID)
- ;
- ALTER TABLE HR_MEMBER_SALARY ADD CONSTRAINT SYS_C005953 FOREIGN KEY (COMPONENT_ID) REFERENCES HR_SALARY_COMPONENT (COMPONENT_ID)
- ;
- ALTER TABLE HR_MEMBER_SALARY ADD CONSTRAINT SYS_C005952 FOREIGN KEY (EMP_ID) REFERENCES T_EMP (EMP_ID)
- ;
- ALTER TABLE T_DOC_RECEIVED ADD CONSTRAINT FK_T_DOC_RECEIVED23 FOREIGN KEY (TYPE_ID) REFERENCES T_DOC_RECEIVED_TYPE (ID)
- ;
- ALTER TABLE T_DOC_RECEIVED ADD CONSTRAINT FK_T_DOC_RECEIVED26 FOREIGN KEY (SECURITY_ID) REFERENCES T_WORKFLOW_SECURITY_TYPE (ID)
- ;
- ALTER TABLE T_WORKFLOW_X_FILE ADD CONSTRAINT SYS_C006366 FOREIGN KEY (ID) REFERENCES T_WORKFLOW (WORKFLOW_ID)
- ;
- ALTER TABLE T_WORKFLOW_X_FILE ADD CONSTRAINT SYS_C006355 FOREIGN KEY (FILE_ID) REFERENCES T_FILE (FILE_ID)
- ;
- ALTER TABLE T_EMP_X_PRIVILEGE ADD CONSTRAINT SYS_C005178 FOREIGN KEY (PRIVILEGE_ID) REFERENCES T_PRIVILEGE (PRIVILEGE_ID)
- ;
- ALTER TABLE T_DIRECTORIES_PERMISSION ADD CONSTRAINT FK_T_DIRECTORIES_PERMISSION9 FOREIGN KEY (DIRECTORY_ID) REFERENCES T_DIRECTORIES (DIRECTORY_ID)
- ;
- ALTER TABLE T_CONFERENCE ADD CONSTRAINT FK_T_CONFERENCE112 FOREIGN KEY (STATUS_ID) REFERENCES T_CONFERENCE_STATUS (STATUS_ID)
- ;
- ALTER TABLE T_MSG_RECEIVER ADD CONSTRAINT FK_T_MSG_RECEIVER3 FOREIGN KEY (MSG_ID) REFERENCES T_SENT_MESSAGE (MSG_ID)
- ;
- ALTER TABLE T_WORK_RECORD ADD CONSTRAINT FK_T_WORK_RECORD107 FOREIGN KEY (AUTOMOBILE_ID) REFERENCES T_AUTOMOBILE (AUTOMOBILE_ID)
- ;
- ALTER TABLE T_WORK_RECORD ADD CONSTRAINT FK_T_WORK_RECORD106 FOREIGN KEY (EMP_ID) REFERENCES T_DRIVER (EMP_ID)
- ;
- ALTER TABLE T_PROJECT_CHANGE ADD CONSTRAINT SYS_C005630 FOREIGN KEY (PERSON_ID) REFERENCES T_CONTACT_PERSON (PERSON_ID)
- ;
- ALTER TABLE T_DIRECTORIES ADD CONSTRAINT FK_T_DIRECTORIES5 FOREIGN KEY (SUPER_DIRECTORY_ID) REFERENCES T_DIRECTORIES (DIRECTORY_ID)
- ;
- ALTER TABLE T_PECCANCY ADD CONSTRAINT FK_T_PECCANCY2 FOREIGN KEY (AUTOMOBILE_ID) REFERENCES T_AUTOMOBILE (AUTOMOBILE_ID)
- ;
- ALTER TABLE T_PECCANCY ADD CONSTRAINT FK_T_PECCANCY104 FOREIGN KEY (EMP_ID) REFERENCES T_DRIVER (EMP_ID)
- ;
- ALTER TABLE T_SALARY_ITEMS_LOG ADD CONSTRAINT SYS_C005613 FOREIGN KEY (SALARY_DATE, EMP_ID) REFERENCES T_SALARY_LOG (SALARY_DATE, EMP_ID)
- ;
- ALTER TABLE T_SALARY_ITEMS_LOG ADD CONSTRAINT SYS_C05612 FOREIGN KEY (ITEM_ID) REFERENCES T_SALARY_ITEMS_SPEC (ITEM_ID)
- ;
- ALTER TABLE T_SALARY_LOG ADD CONSTRAINT SYS_C005609 FOREIGN KEY (EMP_ID) REFERENCES T_SALARY_TEMPLATE (EMP_ID)
- ;
- ALTER TABLE T_MSG_RECEIVERS ADD CONSTRAINT SYS_C005631 FOREIGN KEY (MSG_ID) REFERENCES T_PERSON_SENT_MSG (MSG_ID)
- ;
- ALTER TABLE T_BUDGET_LIST ADD CONSTRAINT T_BUDGET_DIVISIONID FOREIGN KEY (DIVISION_ID) REFERENCES T_DIVISION (DIVISION_ID)
- ;
- ALTER TABLE T_FILES ADD CONSTRAINT FK_T_FILES4 FOREIGN KEY (DIRECTORY_ID) REFERENCES T_DIRECTORIES (DIRECTORY_ID)
- ;
- ALTER TABLE T_PASS_READ_PASSING_BOX ADD CONSTRAINT SYS_C005622 FOREIGN KEY (ARTICAL_ID) REFERENCES T_PASS_READ_ARTICAL (ARTICAL_ID)
- ;
- ALTER TABLE T_CONTACT_PERSON ADD CONSTRAINT SYS_C005626 FOREIGN KEY (COMPANY_ID) REFERENCES T_CONTACT_COMPANY (COMPANY_ID)
- ;
- ALTER TABLE HR_TRAIN ADD CONSTRAINT SYS_C005596 FOREIGN KEY (DD_TRAIN_ID) REFERENCES HR_DD (DD_ID)
- ;
- ALTER TABLE T_DRIVING_FEE ADD CONSTRAINT FK_T_DRIVING_FEE106 FOREIGN KEY (AUTOMOBILE_ID) REFERENCES T_AUTOMOBILE (AUTOMOBILE_ID)
- ;
- ALTER TABLE T_DRIVING_FEE ADD CONSTRAINT FK_T_DRIVING_FEE105 FOREIGN KEY (EMP_ID) REFERENCES T_DRIVER (EMP_ID)
- ;
- ALTER TABLE T_BOARDROOM ADD CONSTRAINT FK_T_BOARDROOM113 FOREIGN KEY (STATUS_ID) REFERENCES T_BOARDROOM_STATUS (STATUS_ID)
- ;
- ALTER TABLE T_WORKFLOW_DISPATCH ADD CONSTRAINT FK_DISPATCH9 FOREIGN KEY (WORKFLOW_ID) REFERENCES T_WORKFLOW (WORKFLOW_ID)
- ;
- ALTER TABLE HR_MEMBER_PRIVATE_INFO ADD CONSTRAINT SYS_C005605 FOREIGN KEY (DD_PARTY_ID) REFERENCES HR_DD (DD_ID)
- ;
- ALTER TABLE HR_SALARY_LIST ADD CONSTRAINT SYS_C005958 FOREIGN KEY (EMP_ID) REFERENCES T_EMP (EMP_ID)
- ;
- ALTER TABLE T_TOPIC_X_MEETING_ROOM ADD CONSTRAINT SYS_C005619 FOREIGN KEY (E_MEETING_ROOM_ID) REFERENCES T_E_MEETING_ROOM (E_MEETING_ROOM_ID)
- ;
- ALTER TABLE T_TOPIC_X_MEETING_ROOM ADD CONSTRAINT SYS_C005618 FOREIGN KEY (TOPIC_ID) REFERENCES T_DISCUSSION_TOPIC (TOPIC_ID)
- ;
- ALTER TABLE T_E_MEETING_MESSAGE ADD CONSTRAINT SYS_C005615 FOREIGN KEY (MESSAGE_ID) REFERENCES T_E_MEETING_MESSAGE (MESSAGE_ID)
- ;
- ALTER TABLE T_E_MEETING_MESSAGE ADD CONSTRAINT SYS_C005617 FOREIGN KEY (E_MEETING_ROOM_ID) REFERENCES T_E_MEETING_ROOM (E_MEETING_ROOM_ID)
- ;
- ALTER TABLE T_E_MEETING_MESSAGE ADD CONSTRAINT SYS_C005616 FOREIGN KEY (TOPIC_ID) REFERENCES T_DISCUSSION_TOPIC (TOPIC_ID)
- ;