Re: creating table without columns

Поиск
Список
Период
Сортировка
От Greg Spiegelberg
Тема Re: creating table without columns
Дата
Msg-id CAEtnbpUDiN76Ftxi4ZdVN2bgq9r7jRhAg5gWU+SHU4_2J+zCCw@mail.gmail.com
обсуждение исходный текст
Ответ на creating table without columns  (Subodh Kumar <subodh.kumar@epps-erp.com>)
Список pgsql-admin
On Tue, Oct 30, 2018, 6:45 AM Subodh Kumar <subodh.kumar@epps-erp.com> wrote:
Hello Everyone,
           I have run below query it is created 'test' table without columns 
           but table row count is 2. 
please give me clarity about this, i thought it may give syntax error but not
either it must have 2 rows data but both are not happened.


with ins_test as (select 1 as srno
union
select 2)
select into test from ins_test;

select * from test;

See VALUES. 
:)

-Greg

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

Предыдущее
От: Axel Rau
Дата:
Сообщение: Re: Getting fancy errors when accessing information_schema on 10.5
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Getting fancy errors when accessing information_schema on 10.5