| От | Stephen R. van den Berg |
|---|---|
| Тема | Re: Function call order dependency |
| Дата | |
| Msg-id | 20080903150801.GA9761@cuci.nl обсуждение |
| Ответ на | Function call order dependency (pgsql@mohawksoft.com) |
| Список | pgsql-hackers |
pgsql@mohawksoft.com wrote: >Would it be something like: "where" clause first, left to right, followed >by select terms, left to right, and lastly the "order by" clause? I don't know what ANSI says, nor do I know what PostgreSQL exactly does at the moment, but, the only thing you can reasonably count on is that the WHERE clause is evaluated before the SELECT-result-rows and the ORDER BY clause (in any SQL database). You cannot depend on any left to right order, and you cannot depend on ORDER BY being evaluated after the SELECT-result-rows. -- Sincerely, Stephen R. van den Berg. "<Clarions sounding> *No one* expects the Spanish inquisition!"
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера