On 3/20/01, 7:23:04 PM, Marios Moutzouris <[EMAIL PROTECTED]> wrote
regarding [SQL] rows equal:
> Hello
> I need a sql query to a postgresql database which can tell me whether the
> rows returned ar equal.
> i.e
> -------
> Status
> -------
> Order
> -------
> Collected
> ----------
> This is two columns. Both are not equal.
> Any help?.......without having to write code to fetch the result and go
> through etc etc.
Sorry - don't think so. Unless you've defined a unique index on one or
more of these columns you'll have to check the contents of the columns.
If they are never supposed to be the same, define a unique index.
- Richard Huxton
---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly