Re: cannot create function that uses variable table name

Поиск
Список
Период
Сортировка
От chester c young
Тема Re: cannot create function that uses variable table name
Дата
Msg-id 20030117044207.10247.qmail@web12702.mail.yahoo.com
обсуждение исходный текст
Ответ на cannot create function that uses variable table name  ("Matthew Nuzum" <cobalt@bearfruit.org>)
Список pgsql-sql
--- Matthew Nuzum <cobalt@bearfruit.org> wrote:
> I thought I would be crafty and devise a function that would always
> return the highest numbered item in the table.  But it doesn�t work. 
> It always gives me a parse error at $1.  Here�s the function:

build the query as a string and execute it.

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


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

Предыдущее
От: "Matthew Nuzum"
Дата:
Сообщение: cannot create function that uses variable table name
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: cannot create function that uses variable table name