Re: Type conversion

Поиск
Список
Период
Сортировка
От Ed Loehr
Тема Re: Type conversion
Дата
Msg-id 394FCE8E.D522EEB2@austin.rr.com
обсуждение исходный текст
Ответ на Type conversion  (Ice Planet <ice@adiemus.sk>)
Список pgsql-sql
Tom Lane wrote:
> 
> Ice Planet <ice@adiemus.sk> writes:
> > B: insert into t2 values (select int2(int4(b)) from t1 where a = 1)
> 
> Works for me when spelled correctly:

I think you can also leave out the 'values' for a sub-select insert,
though I haven't checked to see if it matters...

Regards,
Ed Loehr


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Type conversion
Следующее
От: Christopher Sawtell
Дата:
Сообщение: Re: \copy...