Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: pl/pgsql and controling loops



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



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group