RE: [GENERAL] Relations between tables.

Поиск
Список
Период
Сортировка
От Jackson, DeJuan
Тема RE: [GENERAL] Relations between tables.
Дата
Msg-id D05EF808F2DFD211AE4A00105AA1B5D216FA37@cpsmail
обсуждение исходный текст
Ответы RE: [GENERAL] Relations between tables.  ("Rudy Gireyev" <rgireyev@cnmnetwork.com>)
RE: [GENERAL] Relations between tables.  (christian <crr@freemail.com.br>)
Список pgsql-general
> Being rather new to DBs in general, I wonder - is the relation constraint
> present in PostgreSQL?
Not in and of itself.   The FOREIGN KEY CONSTRAINT syntax is parsed but not
implemented.
> Is this the same as relations I've seen under other databases ?
Should be.
> MS Access has to be a poor example but I've seen tables relationed between
> themselves.
MS Access is a very poor example of most things SQL92.

> Using a relation constraint, are tables tied together automatically, thus
> removing the need to use a 'WHERE table1.index = table2.t1index' in select
> clauses retreiving data in table2 and table1?
Nope this doesn't even happen in MS Access.  If you build your query in
Access and look at the SQL (go to the View menu the select SQL) that's
generated you'll see that all Access is put that part of the WHERE clause in
for you.  Most other databases aren't that presumptuous.

> christian
    -DEJ


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

Предыдущее
От: Oleg Bartunov
Дата:
Сообщение: Re: [INTERFACES] problem with LOAD
Следующее
От: "Rudy Gireyev"
Дата:
Сообщение: RE: [GENERAL] Relations between tables.