19 lines
698 B
MySQL
19 lines
698 B
MySQL
|
DROP TABLE telsale_oper_lst;
|
|||
|
CREATE TABLE telsale_oper_lst
|
|||
|
(
|
|||
|
policy_no VARCHAR2(20) PRIMARY KEY,
|
|||
|
operator_code VARCHAR2(6) NOT NULL,
|
|||
|
operator_name VARCHAR2(100 CHAR) NOT NULL,
|
|||
|
section_office_code VARCHAR2(6) NOT NULL,
|
|||
|
section_office_name VARCHAR2(100 CHAR) NOT NULL,
|
|||
|
department_code VARCHAR2(6),
|
|||
|
department_name VARCHAR2(100 CHAR),
|
|||
|
autotrader_code VARCHAR2(30), --<EFBFBD><EFBFBD><EFBFBD>̴<EFBFBD><EFBFBD><EFBFBD>
|
|||
|
insruant_name VARCHAR2(200 CHAR), --<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
plate_no VARCHAR2(7 CHAR), --<EFBFBD><EFBFBD><EFBFBD>ƺ<EFBFBD>
|
|||
|
entry_staff_code VARCHAR2(6) NOT NULL,
|
|||
|
entry_date DATE DEFAULT SYSDATE
|
|||
|
);
|
|||
|
|
|||
|
CREATE INDEX telsale_oper_lst_i ON telsale_oper_lst(POLICY_NO,operator_code);
|