Re: pl/pgsql and controling loops
-------------- Original message ----------------------
From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
> aklaver(at)comcast(dot)net (Adrian Klaver) writes:
> > From: "Alain Roger" <raf(dot)news(at)gmail(dot)com>
> >> once to do a comparison they use :
> > IF (ret == 1) THEN ...
> >> once,
> > IF (ret = 1) THEN...
>
> > Both are correct.
>
> No they're not, as a simple test would convince you ...
> there is no '==' operator in SQL.
>
> regards, tom lane
I stand corrected.
--
Adrian Klaver
aklaver(at)comcast(dot)net
Home |
Main Index |
Thread Index