Re: implied FROM

Поиск
Список
Период
Сортировка
От Tomasz Myrta
Тема Re: implied FROM
Дата
Msg-id 3EB21AE6.4020205@klaster.net
обсуждение исходный текст
Ответ на implied FROM  ("Matt Mello" <alien@spaceship.com>)
Ответы Re: implied FROM
Re: implied FROM
Список pgsql-sql
Dnia 2003-05-02 04:06, Uz.ytkownik Matt Mello napisa?:
<cut>
> So, why doesn't asking for a field from a table that IS NOT in the from
> clause throw an exception?  Isn't it violating the SQL language?  Why is PG
> implying FROM tables?
>
> Thanks!
Your second case is translated into:
select store.storeid from appliance,store where appliance.applianceid = 32;

There was a discussion several months ago about "missing from clause". I
was voting for changing this warning into exception. Some people said,
that it is very useful inside update queries. The conclusion was this
behaviour should stay as it is. Anyway it isn't such a big problem for
me, because the only problem is to catch "missing from clause" warning.

Regards,
Tomasz Myrta



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

Предыдущее
От: Oliver Elphick
Дата:
Сообщение: Re: differences between oracle,pgsql,sybase
Следующее
От: "Yudha [ Inas_Husband ] Setiawan"
Дата:
Сообщение: It's About field type array