FOR : Structure control pb

Поиск
Список
Период
Сортировка
От Guillaume Houssay
Тема FOR : Structure control pb
Дата
Msg-id 00a201c3a77d$4457c820$eeac84c3@camille
обсуждение исходный текст
Ответы Re: FOR : Structure control pb
Список pgsql-sql
I am using the For controle structure as follows
 
FOR i IN 0..23 LOOP
 
query
 
END LOOP;
 
The query is tested and is working OK.
 
When I launch the loop in psql interface, I get the error parse error at or near FOR.
 
As this is the first time I use this kind of struture I am probably using it the wrong way.
 
Thank you for your answer

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

Предыдущее
От: Christoph Haller
Дата:
Сообщение: Re: Dynamic Query for System functions - now()
Следующее
От: "Kumar"
Дата:
Сообщение: Re: Dynamic Query for System functions - now()