From: Indraneel Majumdar <indraneel@www.cdfd.org.in>
To: pgsql-sql@postgresql.org
Subject: How do I run a search on array
Date: Thu, 21 Sep 2000 09:29:34 -0700 (PDT)
Message-ID: <Pine.SGI.3.96.1000921092140.143793B-100000@www.cdfd.org.in> (raw)
In-Reply-To: <000371c21bccd077_mailit@smtp.applink.net>
Hi,
I've been trying to do:
select col1 from table while array_col[1][1:4]='2';
how do I do this sort of thing? There seems to be no docs ;-(
my array is {{"1","2","4","2"},{"3","2","5"},{"6","3","7","9"}}
I would also like to know that if I have an array as a large object, is it
possible to do a search on it using rows and columns (or by any other
way)?
thanks,
Indraneel
/************************************************************************.
# Indraneel Majumdar ¡ E-mail: indraneel@123india.com #
# Bioinformatics Unit (EMBNET node), ¡ URL: http://scorpius.iwarp.com #
# Centre for DNA Fingerprinting and Diagnostics, #
# Hyderabad, India - 500076 #
`************************************************************************/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: indraneel@www.cdfd.org.in
Subject: Re: How do I run a search on array
In-Reply-To: <Pine.SGI.3.96.1000921092140.143793B-100000@www.cdfd.org.in>
References: <000371c21bccd077_mailit@smtp.applink.net> <Pine.SGI.3.96.1000921092140.143793B-100000@www.cdfd.org.in>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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