From: A. Kretschmer <andreas.kretschmer@schollglas.com>
To: pgsql-sql@postgresql.org
Subject: Re: Question about SQL Control Structure(if then, for loop)
Date: Thu, 18 May 2006 08:12:13 +0200
Message-ID: <20060518061213.GC14405@webserv.wug-glas.de> (raw)
In-Reply-To: <200605170151.VAA30155@www20.ureach.com>
References: <200605170151.VAA30155@www20.ureach.com>
am 16.05.2006, um 21:51:45 -0400 mailte Jay Chiu folgendes:
> Can someone tell me how to use if/for in psql? The document
In plain SQL isn't if, then, else and so on.
> shows the control structures in the PL/pgSQL section. Must I use
> if/for inside some procedure/function?
Yes.
HTH, Andreas
--
Andreas Kretschmer (Kontakt: siehe Header)
Heynitz: 035242/47215, D1: 0160/7141639
GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net
=== Schollglas Unternehmensgruppe ===
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: andreas.kretschmer@schollglas.com
Subject: Re: Question about SQL Control Structure(if then, for loop)
In-Reply-To: <20060518061213.GC14405@webserv.wug-glas.de>
* 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