Re: sp: error message not coherent with actual code

Поиск
Список
Период
Сортировка
От Ivan Sergio Borgonovo
Тема Re: sp: error message not coherent with actual code
Дата
Msg-id 20080515210807.5679fec8@dawn.webthatworks.it
обсуждение исходный текст
Ответ на sp: error message not coherent with actual code  (Ivan Sergio Borgonovo <mail@webthatworks.it>)
Список pgsql-general
On Thu, 15 May 2008 20:36:21 +0200
Ivan Sergio Borgonovo <mail@webthatworks.it> wrote:

> I've this line in a sp:
>
> select into _OrderGroupID b2c._OrderGroupID from
> Basket2Order(_BasketID) as b2c;
>
> but I get this error:
>
> SELECT query has no destination for result data HINT: If you want to
> discard the results, use PERFORM instead. CONTEXT: PL/pgSQL function
> "basket2order" line 71 at SQL statement SQL statement "SELECT
> b2c._OrderGroupID from Basket2Order( $1 ) as b2c"

> ?

> Commenting that line the error goes away.

The error was somewhere else.

Forgive me.


--
Ivan Sergio Borgonovo
http://www.webthatworks.it


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

Предыдущее
От: Justin
Дата:
Сообщение: Re: Need for help!
Следующее
От: "Scott Marlowe"
Дата:
Сообщение: Re: Need for help!