Subject | Re: [firebird-support] Requiring a Primary Key |
---|---|
Author | Martijn Tonies |
Post date | 2003-08-27T17:06:42Z |
Hi Ed,
Fact is, without a primary key - or at least a couple of columns
being a candidate PK - you don't have ANY means of addressing
a single record after you've a couple of records into a table.
With regards,
Martijn Tonies
Database Workbench - the developer tool for InterBase & Firebird
Upscene Productions
http://www.upscene.com
> I have a number of tables that don't need a primary key--just aAdvantage - I don't know.
> foreign key, i.e. there is no reason in the foreseeable future I
> would access the data by the primary key. But recently at a user
> group meeting, the presenter stated that he adds a PK to all tables.
> Is there an advantage to adding a PK to the tables that don't need
> them?
Fact is, without a primary key - or at least a couple of columns
being a candidate PK - you don't have ANY means of addressing
a single record after you've a couple of records into a table.
With regards,
Martijn Tonies
Database Workbench - the developer tool for InterBase & Firebird
Upscene Productions
http://www.upscene.com