Re: How do I replace select ... into commands?

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: How do I replace select ... into commands?
Дата
Msg-id 49234.192.168.1.32.1063350502.squirrel@mainbox.archonet.com
обсуждение исходный текст
Ответ на Re: How do I replace select ... into commands?  ("Richard Sydney-Smith" <richard@ibisaustralia.com>)
Список pgsql-sql
> Stephen replied :
>
>> Something like the above should work, what's the exact function and
>> error
>> message and what version are you using?
>>
>>
> thanks Stephen.
>
> Exact function definition follows:
> PG Version is 7.3.1 on Windows 2000

> select "max"(seq_val) as m into lastrsn from fseqkeys where seq_key = tbl;

Slight change of syntax needed: select into recordvar max(seq_val) from ...

- Richard Huxton


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

Предыдущее
От: sad
Дата:
Сообщение: how to call a function with row-type arg
Следующее
От: "Richard Hall"
Дата:
Сообщение: Re: how to call a function with row-type arg