Re: Primary Key

From: Ron Johnson <ron(dot)l(dot)johnson(at)cox(dot)net>
To: Grupo PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: Primary Key
Date: 2007-11-16 19:01:19
Message-ID: 473DE8FF.3000108@cox.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/16/07 12:50, João Paulo Zavanela wrote:
> Hello,
>
> How many fields is recomended to create a primary key?
> I'm thinking to create one with 6 fields, is much?

The number of recommended fields is the *minimum* number required
for uniqueness. 1 or 6 or 24. Doesn't matter.

- --
Ron Johnson, Jr.
Jefferson LA USA

%SYSTEM-F-FISH, my hovercraft is full of eels
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHPej/S9HxQb37XmcRAo5mAJoDwp1E+aL2M/oTWhOsR5XYJi0AhgCgvUgU
/ZB7nP+K6j0WW8vNn5Q8tFI=
=s+zS
-----END PGP SIGNATURE-----

In response to

  • Primary Key at 2007-11-16 18:50:20 from João Paulo Zavanela

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ron Johnson 2007-11-16 19:03:23 Re: Primary Key
Previous Message Joshua D. Drake 2007-11-16 19:01:15 Re: Primary Key