Re: Question about SQL Control Structure(if then, for loop) - Mailing list pgsql-sql

From A. Kretschmer
Subject Re: Question about SQL Control Structure(if then, for loop)
Date
Msg-id 20060518061213.GC14405@webserv.wug-glas.de
Whole thread Raw
In response to Question about SQL Control Structure(if then, for loop)  (Jay Chiu <jaychiu@ureach.com>)
List pgsql-sql
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    === 


pgsql-sql by date:

Previous
From: Guillaume LELARGE
Date:
Subject: Re: Add column and specify the column position in a table
Next
From: "Dirk Jagdmann"
Date:
Subject: Re: table constraint + INSERT