From: | Atanacio Reyes <areyesv(at)yahoo(dot)com> |
---|---|
To: | pgsql-ayuda(at)tlali(dot)iztacala(dot)unam(dot)mx |
Subject: | Re: [pgsql-ayuda] Postgres y las llaves de las tablas |
Date: | 1998-11-14 22:48:26 |
Message-ID: | 19981114224826.8734.rocketmail@send104.yahoomail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-es-ayuda |
---David Martinez Cuevas <david(at)mail(dot)estadistica(dot)unam(dot)mx> wrote:
>
> Hola.
>
> Prueba con PRIMARY KEY:
>
> CREATE TABLE ( id int, f1 int, f2 int ...... fn int, PRIMARY
KEY
Si consultas el manual de create_table ( man create_table) te dars
cuenta que no existe 'PRIMARY KEY' como en SQL normal.
La definicin de llaves primarias y secundarias se hace con el
propsito de que haya integridad referencial en la base de datos. En
postgreSQL la forma de establecer integridad referencial es mediante
trigers.
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com
--------- Pie de mensaje -------------------------------------------
Archivo historico: http://tlali.iztacala.unam.mx/maillist/pgsql-ayuda
Cancelar inscripcion:
mail to: majordomo(at)tlali(dot)iztacala(dot)unam(dot)mx
text : cancelacion pgsql-ayuda
From | Date | Subject | |
---|---|---|---|
Next Message | Bruno Unna | 1998-11-14 23:13:24 | Re: [pgsql-ayuda] Postgres y las llaves de las tablas |
Previous Message | Sergi Grifell Ochoa | 1998-11-14 22:33:40 | [pgsql-ayuda] [Fwd: 4GL] |