Sim Zacks wrote:
> How can these both be true? Is there a way to see if a value is not in
> an array?
> 
> 
> select 1229 <> any('{1220,0,0,1228,1229,1231,0,0,0}'::int[]) as result
> 
> result
> -------
> t

Not "any()", "all()" - it *is* different from some of the numbers there.

-- 
  Richard Huxton
  Archonet Ltd

-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to