Hi i'm having trouble with adding a primary key to a pre created table.
The syntax below is what i'm using to add a primary key to my university table
The error i get is INVALID TABLE COMMAND
Can anybody help?
Many thanks!!
The syntax below is what i'm using to add a primary key to my university table
Code:
ALTER TABLE UNIVERSITY ADD CONSTRAINT UNIVERSITY PK PRIMARY KEY(U_PK);
Can anybody help?
Many thanks!!
Comment