pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Re: How to Return Unique Elements From An Array?
2+ messages / 2 participants
[nested] [flat]

* How to Return Unique Elements From An Array?
@ 2001-10-08 08:46 Bhuvan A <bhuvansql@yahoo.com>
  1970-01-01 00:00 ` Re: How to Return Unique Elements From An Array? Haller Christoph <ch@rodos.fzk.de>
  0 siblings, 1 reply; 2+ messages in thread

From: Bhuvan A @ 2001-10-08 08:46 UTC (permalink / raw)
  To: pgsql-sql


hello all,

how can we get unique elements from an array(of any type)?

Regards,
Bhuvaneswar.




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: How to Return Unique Elements From An Array?
  2001-10-08 08:46 How to Return Unique Elements From An Array? Bhuvan A <bhuvansql@yahoo.com>
@ 1970-01-01 00:00 ` Haller Christoph <ch@rodos.fzk.de>
  0 siblings, 0 replies; 2+ messages in thread

From: Haller Christoph @ 1970-01-01 00:00 UTC (permalink / raw)
  To: bhuvansql@yahoo.com; +Cc: pgsql-sql

Have you tried already 
SELECT DISTINCT <your_array> FROM <your_table> ; 
If you receive an error message like 
Unable to identify an ordering operator ... 
Refer to 'Server Programming' section Extending SQL: Operators 
to learn about creating your own operators for array comparison 
Or search the mailing-list for similar requests. 
Regards, Christoph 
> 
> hello all,
> 
> how can we get unique elements from an array(of any type)?
> 
> Regards,
> Bhuvaneswar.




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2001-10-08 08:46 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-10-08 08:46 How to Return Unique Elements From An Array? Bhuvan A <bhuvansql@yahoo.com>
1970-01-01 00:00 ` Haller Christoph <ch@rodos.fzk.de>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox