Re: Column Ordering

Поиск
Список
Период
Сортировка
От Richard Broersma Jr
Тема Re: Column Ordering
Дата
Msg-id 252216.43330.qm@web31808.mail.mud.yahoo.com
обсуждение исходный текст
Ответ на Re: Column Ordering  (Andres Ledesma <alchir@yahoo.com>)
Ответы Re: Column Ordering  (psql-novice@netzach.co.il)
Список pgsql-novice
--- Andres Ledesma <alchir@yahoo.com> wrote:
> Forgive me if I'm wrong but as far as I know, in the relational theory behind the RDBMSs, the
> colum order in a tupple is irrelevant, like the elements in a set.

This is correct.

> Is there any solid reason or need for having colunms ordered ?

My guess for this request is that alot of people would rather write:

SELECT *
  FROM Table;

instead of:

SELECT column1, column5, column2, column3, column4
  from Table;


I've seen alot of "BEST PRACTICE" advice on this list that suggests that writing out all of the
columns is recommended.  However, I am sure that there are alot of individuals that like to write
these queries with the least amount of code possible.

Regards,
Richard Broersma Jr.

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

Предыдущее
От: Andres Ledesma
Дата:
Сообщение: Re: Column Ordering
Следующее
От: johnf
Дата:
Сообщение: the copy command