Вы находитесь на странице: 1из 1

CREATE TABLE XXINDUS.

EMP_HEADER_DETAILS
(
HEADER_ID NUMBER,
EMPLOYEE_NUMBER VARCHAR2(240),
FIRST_NAME VARCHAR2(25) ,
LAST_NAME VARCHAR2(25) ,
MIDDLE_NAME VARCHAR2(25) ,
PAN_NUMBER VARCHAR2(10),
DATE_OF_JOIN DATE,
MOBILE_NO NUMBER,
SALARY NUMBER,
EMAIL VARCHAR2(25),
GENDER VARCHAR2(8),
DATE_OF_BIRTH DATE,
MARTIAL_STATUS VARCHAR2(10),
ADDRESS VARCHAR2(100),
STATE VARCHAR2(50),
COUNTRY VARCHAR2(25),
CREATION_DATE DATE NOT NULL,
CREATED_BY NUMBER,
LAST_UPDATED_BY NUMBER ,
LAST_UPDATE_DATE DATE ,
LAST_UPDATE_LOGIN NUMBER ,
ATTRIBUTE1 VARCHAR2(25),
ATTRIBUTE2 VARCHAR2(25),
ATTRIBUTE3 VARCHAR2(25),
ATTRIBUTE4 VARCHAR2(25),
ATTRIBUTE5 VARCHAR2(25),
ATTRIBUTE6 VARCHAR2(25)
);
/
CREATE SYNONYM EMP_HEADER_DETAILS FOR XXINDUS.EMP_HEADER_DETAILS;
/
CREATE SEQUENCE XXINDUS.EMP_HEADER_DETAILS_SEQ
MINVALUE 1
MAXVALUE 99999999999999999
START WITH 1
INCREMENT BY 1;
/
CREATE SYNONYM EMP_HEADER_DETAILS_SEQ FOR XXINDUS.EMP_HEADER_DETAILS_SEQ;
/