Received: from www.cdfd.org.in ([202.54.67.145]) by hub.org (8.10.1/8.10.1) with ESMTP id e8L3qks16828 for ; Wed, 20 Sep 2000 23:52:47 -0400 (EDT) Received: from localhost (indraneel@localhost) by www.cdfd.org.in (980427.SGI.8.8.8/970903.SGI.AUTOCF) via SMTP id JAA44171 for ; Thu, 21 Sep 2000 09:29:34 -0700 (PDT) Date: Thu, 21 Sep 2000 09:29:34 -0700 (PDT) From: Indraneel Majumdar To: pgsql-sql@postgresql.org Subject: How do I run a search on array In-Reply-To: <000371c21bccd077_mailit@smtp.applink.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by hub.org id e8L3qts16853 X-Archive-Number: 200009/161 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 # `************************************************************************/