I am trying to create tables thru my own sql1.txt containing :
--------- sql1.txt ------
d jdbc.idbDriver;
o jdbc:idb=/home/tech/alok/DB/db.prp;
e CREATE TABLE GroupMember (
GroupId CHAR(20) PRIMARY KEY,
UserId CHAR(20) PRIMARY KEY,
GroupRole CHAR(10) );
c close;
-------- sql1.txt ends----
I run "sample" program on this and I get the following error
(cut-pasting from trace.log) :
sql1.txt CREATE TABLE GroupMember ( GroupId CHAR(20) PRIMARY KEY,
UserId CHAR(20) PRIMARY KEY, GroupRole CHAR(10) ); c close
Don't understand SQL after: ";"
Expected: "UNIQUE" found: ";"
Any clues as to what it might be? Actually I tried creating 20 tables
but it created only one (the last one in list) & gave the above errors
for the rest.
I tried creating the above table thru commsql and it worked.
-alok
-----------------------------------------------------------------------------
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.
|