Primary and foreign key

Поиск
Список
Период
Сортировка
Искать

Primary and foreign key

От:
Daniel Facciolo Pires <dfpires@pilsen.intermidia.icmsc.sc.usp.br>
Дата:

I don't know how can I set an attribute like a primary key.

And how can I set the references integrated.

I saw at help's PostgreSQL:

create table 
        (  [default ] [not null] [,...])
        [inherits (,...)
        [[constraint ] check  [,...] ]

Will I have to control the integrated by myself in the program?

Thanks! 

-----------------------------------------
Daniel Facciolo Pires
Mestrado em Ciencias da Computacao
ICMC-USP-Sao Carlos
Grupo: Hipermidia
dfpires@intermidia.icmc.sc.usp.br
http://www.intermidia.icmc.sc.usp.br/~dfpires

FAQ