Re: Return only non-null columns

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: Return only non-null columns
Дата
Msg-id CAFj8pRDmTKMac9vspQ0GPEHB-zmSMMcSG+htTuh8GPmFX+1WRw@mail.gmail.com
обсуждение исходный текст
Ответ на Return only non-null columns  (Dorian Hoxha <dorian.hoxha@gmail.com>)
Список pgsql-general
Hello



2013/11/13 Dorian Hoxha <dorian.hoxha@gmail.com>
Is it possible to:

SELECT * FROM table

But to return only non-null columns ?

no, it is not possible

Regards

Pavel Stehule

 
Since i use psycopg2 with DictCursor (a hashtable) it's better for me when i don't have the column that to have it as NULL.

Thanks

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

Предыдущее
От: Dorian Hoxha
Дата:
Сообщение: Return only non-null columns
Следующее
От: Torsten Förtsch
Дата:
Сообщение: Re: Partitioned table question