pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ashley Clark <aclark@ghoti.org>
To: Hubert Palme <hubert.palme@web.de>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: PL/pgSQL Syntax Problem
Date: Tue, 5 Mar 2002 09:49:28 -0600
Message-ID: <20020305094928.A30697@tyrr.net> (raw)
In-Reply-To: <a60loh$6o5$1@jupiter.hub.org>
References: <a60loh$6o5$1@jupiter.hub.org>

* Hubert Palme in "PL/pgSQL Syntax Problem" dated 2002/03/04 21:34 wrote:

> Hi,

Hi,

>     FOR daten IN 
>       SELECT * INTO daten FROM telefon WHERE t_lfd_nr = lfd_nr

when using a for loop you don't need the into, eg.

FOR daten IN
  SELECT * FROM telefon WHERE t_lfd_nr = lfd_nr

each row will be placed in daten.


-- 
alkyl arches 

view thread (6+ messages)  latest in thread

Message-ID: <20020305094928.A30697@tyrr.net>
Permalink:  ../20020305094928.A30697@tyrr.net/
Also on:    postgresql.org/message-id/20020305094928.A30697@tyrr.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: aclark@ghoti.org, hubert.palme@web.de, pgsql-interfaces@postgresql.org
  Subject: Re: PL/pgSQL Syntax Problem
  In-Reply-To: <20020305094928.A30697@tyrr.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox