Re: Change key primary for key foreign

Поиск
Список
Период
Сортировка
От Guilherme Rodrigues
Тема Re: Change key primary for key foreign
Дата
Msg-id 4c5f940e-e2c0-4f93-97e2-208849f4c8a4@googlegroups.com
обсуждение исходный текст
Ответ на Change key primary for key foreign  (Guilherme Rodrigues <lopesgrml@gmail.com>)
Ответы Re: Change key primary for key foreign  (Edson Richter <edsonrichter@hotmail.com>)
Re: Change key primary for key foreign  ("Albe Laurenz" <laurenz.albe@wien.gv.at>)
Список pgsql-general
I created one table so:

CREATE TABLE clima (
    city     char(80),
    cprc     int,
);

And have other table so:

CREATE TABLE city (
    name            char(80),
    other_thing     int,
);

But now I want the table clima receive name table city as foreign key. understand?
Sorry my bad english.


Em terça-feira, 18 de setembro de 2012 17h37min59s UTC-3, Guilherme Rodrigues  escreveu:
> Hello. I want to change one table already created. Where the comand? thank you.



В списке pgsql-general по дате отправления:

Предыдущее
От: Eden Cardim
Дата:
Сообщение: Re: Column aliases in WHERE clauses
Следующее
От: Chris Travers
Дата:
Сообщение: Re: Column aliases in WHERE clauses