Re: != or <>

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Martín Marqués <martin(at)bugs(dot)unl(dot)edu(dot)ar>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: != or <>
Date: 2001-05-08 14:33:05
Message-ID: 28920.989332385@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

=?iso-8859-1?q?Mart=EDn=20Marqu=E9s?= <martin(at)bugs(dot)unl(dot)edu(dot)ar> writes:
> Which is the best approach to put in a check constraint
> col <> something
> col != something
> ?

There's really no difference ... although <> is the
SQL-standard-approved spelling, if that matters to you.

regards, tom lane

In response to

  • != or <> at 2001-05-08 07:13:52 from Martín Marqués

Browse pgsql-general by date

  From Date Subject
Next Message Tim Barnard 2001-05-08 14:48:18 Re: A different compile problem for 7.1.1
Previous Message Viacheslav N Tararin 2001-05-08 14:15:32 Pl/PgSQL improvements