Re: About referential integrity.

Поиск
Список
Период
Сортировка
От David BOURIAUD
Тема Re: About referential integrity.
Дата
Msg-id 200202260753.g1Q7rdx22057@necker.ac-rouen.fr
обсуждение исходный текст
Ответ на About referential integrity.  (BOURIAUD <david.bouriaud@ac-rouen.fr>)
Ответы Re: About referential integrity.  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Re: About referential integrity.  ("Josh Berkus" <josh@agliodbs.com>)
Список pgsql-sql
Le Lundi 25 Février 2002 16:01, vous avez écrit :

Hi to all !
First of all, thanks to the ones who answered me, for I didn't know that it 
wasn't a SQL specification, though I suspected it, and I didn't even suspect 
that it could roughly done with the "NATURAL JOIN" specificated in the "FROM" 
clause.

Anyway, couldn't it be an extention to postgreSQL ? If you have heard about 
Business Objects, you should know that it can do it very well provided you 
draw the relationchips between the tables of your database. And it's of much 
use, since you just have to concentrate on the fields you want to fetch and 
the program takes care of the relations and handles group by, order by and 
where clause.

As of PostgreSQL, I don't think it would be a hard thing to put on, since the 
relations are stored in a system table, including the fields the tables are 
linked by. A sort of syntax :

select *
from AUTO JOIN t1, t2;

should do the stuff, and leave the SQL/92 and 99 specifications alone !


-- 
David BOURIAUD
----------------------------------------------------------
In a world without walls or fences, what use do we have 
for windows or gates ?
----------------------------------------------------------
ICQ#102562021


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

Предыдущее
От: "Kancha ."
Дата:
Сообщение: Re: transaction abortion
Следующее
От: Erle Czar Mantos
Дата:
Сообщение: Re: On delete cascade!