| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: FK -> non PK - bad design?
otis_usenet_at_yahoo.com (OtisUsenet) wrote in message news:<5606b639.0304072055.29001bfe_at_posting.google.com>...
[...]
>
> CREATE TABLE service_plan
> (
> id SERIAL
> CONSTRAINT pk_service_plan_id PRIMARY KEY ,
> type INTEGER NOT NULL UNIQUE
> ...
> );
>
>
since type is unique, what is the purpose of id?
/Lennart Received on Tue Apr 08 2003 - 22:29:13 CDT
![]() |
![]() |