2014-12-02 71 views
0
CREATE TABLE INTERVIEW_DETAILS 
(
interview_id NUMBER PRIMARY KEY, 
interview_date DATE, 
sr_executive_name VARCHAR2(25), 
jr_executive_name VARCHAR2(25), 
designation VARCHAR2(20), 
jobseeker_name VARCHAR2(25), 
skills VARCHAR2(20), 
inetview_status VARCHAR2(20), 
recruiter_id NUMBER, 
recruiter_name VARCHAR2(25), 
recruiter_location VARCHAR2(20), 
jobseeker_contact VARCHAR2(20), 
jobseeker_email VARCHAR2(50), 
quailification VARCHAR2(20), 
jobseeker_dob DATE, 
total_experience NUMBER, 
rel_experience NUMBER, 
inhand_ctc LOB, 
expected_ctc LOB, 
notice_period VARCHAR2(20), 
cv_status VARCHAR2(20), 
interview_type VARCHAR2(20), 
attn_Y/N VARCHAR2(10), 
fianl_remark VARCHAR2(15), 
offer_date DATE, 
offer_ctc LOB, 
joining_date DATE, 
joined_Y/N VARCHAR2(10), 

CONSTRAINT INTERVIEW_DETAILS_fk FOREIGN KEY(sr_executive_name) 
REFERENCES SR_EXECUTIVE(sr_executive_name), 

CONSTRAINT INTERVIEW_DETAILS_fk FOREIGN KEY(jr_executive_name) 
REFERENCES JR_EXECUTIVE(jr_executive_name), 

CONSTRAINT INTERVIEW_DETAILS_fk FOREIGN KEY(jobseeker_name) 
REFERENCES JOBSEEKER(Name), 

CONSTRAINT INTERVIEW_DETAILS_fk FOREIGN KEY(recruiter_id) 
REFERENCES RECRUITER(recruiter_id), 

CONSTRAINT INTERVIEW_DETAILS_fk FOREIGN KEY(recruiter_name) 
REFERENCES RECRUITER(recruiter_name), 

CONSTRAINT INTERVIEW_DETAILS_fk FOREIGN KEY(recruiter_location) 
REFERENCES RECRUITER(recruiter_location), 

CONSTRAINT INTERVIEW_DETAILS_fk FOREIGN KEY(jobseeker_contact) 
REFERENCES JOBSEEKER(Contact), 

CONSTRAINT INTERVIEW_DETAILS_fk FOREIGN KEY(jobseeker_email) 
REFERENCES JOBSEEKER(Email), 

CONSTRAINT INTERVIEW_DETAILS_fk FOREIGN KEY(jobseeker_dob) 
REFERENCES JOBSEEKER(DOB) 
) 
+2

沒有'LOB'數據類型。請閱讀說明書 – 2014-12-02 12:24:50

+1

查看[this](https://docs.oracle.com/cd/B28359_01/server.111/b28318/datatype.htm#CNCPT513) – user75ponic 2014-12-02 12:30:10

回答

0

沒有LOB數據類型。相反,你可以使用其中的一個:

  • Clob
  • Blob
  • nclob(我無法找到一個鏈接)

參見: https://docs.oracle.com/cd/B28359_01/server.111/b28318/datatype.htm

+0

由於這是您的第一個答案,請參閱請訪問http://stackoverflow.com/help/how-to-answer網站了解如何編寫出色的答案。在這種情況下,包含一個小的描述以幫助問題所有者在給定的可能性之間做出決定是非常好的。 – WeSt 2014-12-03 13:36:16