Re: Please help on MS SQL Procedure (@@rowcount) translate

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: Please help on MS SQL Procedure (@@rowcount) translate
Дата
Msg-id 3DEC2C6D.5000805@joeconway.com
обсуждение исходный текст
Ответ на Please help on MS SQL Procedure (@@rowcount) translate to Postgresql Function  ("annachau" <annachau@hongkong.com>)
Список pgsql-general
annachau wrote:
> I have some MS SQL Store Procedure code as following:
>

[...snip...]

>
> 1. How can I get @@rowcount in postgresql or have any other method to check?
> 2. Can goto statement use in postgresql?

See:
http://developer.postgresql.org/docs/postgres/plpgsql.html

and in particular, look at the bottom of this page for the answer to #1:
http://developer.postgresql.org/docs/postgres/plpgsql-statements.html

and for alternatives for #2 see:
http://developer.postgresql.org/docs/postgres/plpgsql-control-structures.html
and
http://developer.postgresql.org/docs/postgres/plpgsql-errors-and-messages.html

HTH,

Joe


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

Предыдущее
От: Timothy Grant
Дата:
Сообщение: Re: \d functionality in a query.
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Segmentation fault while COPY in 7.3