aspiringprog
MIS
Hi all,
I am trying to declare a surrogate key for a table and I get an error saying invalid datatype.
Here is what I am doing. I have created a sequence to generate numbers lets say SEQ.
I am declaring the key as
ID SEQ.nextval in the CREATE TABLE statement and it is giving me an error. I am new to surrogate keys, I've never used them.
Appreciate your help.
Thanks.