Hi,
I am just starting tolearn Oracle PL/SQL and am getting an error right off the bat that I can't seem to get rid of, here it is:
CREATE TABLE book_copies (
barcode_id VARCHAR2(100) NOT NULL PRIMARY KEY,
isbn VARCHAR2(13) FOREIGN KEY REFERENCES books (isbn)
);
error at line 3:
ORA-00907: missing right parenthesis
I have tried to add another parenthesis, closing spaces and several other things, but it still gives me errors.
I appreciate any help
Thanks
Wendy
I am just starting tolearn Oracle PL/SQL and am getting an error right off the bat that I can't seem to get rid of, here it is:
CREATE TABLE book_copies (
barcode_id VARCHAR2(100) NOT NULL PRIMARY KEY,
isbn VARCHAR2(13) FOREIGN KEY REFERENCES books (isbn)
);
error at line 3:
ORA-00907: missing right parenthesis
I have tried to add another parenthesis, closing spaces and several other things, but it still gives me errors.
I appreciate any help
Thanks
Wendy