Tomy
I've been unable to reproduce this. What version of InstantDB are you using?
Note that only 3.20 onwards has FK support.
Regards
Pete
--
Peter Hearty peter.hearty@lutris.com
Lutris Technologies (UK) http://www.lutris.com
----- Original Message -----
From: "tomy" <mail.java@gmx.net>
To: <instantDB@enhydra.org>
Sent: Monday, September 25, 2000 7:33 PM
Subject: InstantDB: Expected: "UNIQUE" found: "REFERENCES"
Hy
By creating the following table I get a error message.
Can anybody help me please
CREATE TABLE TP(
PAdresNum INT UNIQUE PRIMARY KEY NOT NULL,
PVName CHAR(30),
PName CHAR(30),
PAdres1 CHAR(20), PAdres2 CHAR(20),
PAnNum SHORT FOREIGN KEY REFERENCES TA(AAn) );
Don't understand SQL after: "CREATE"
Expected: "UNIQUE" found: "REFERENCES"
Thank's a lot!
-----------------------------------------------------------------------------
To unsubscribe from this mailing list, send email to majordomo@enhydra.org
with the text "unsubscribe instantdb" in the body of the email.
If you have other questions regarding this mailing list, send email to
the list admin at owner-instantdb@enhydra.org.
|