Received: from sandtstudent.pyr.ec.gc.ca (fwvan1.pyr.ec.gc.ca [199.212.20.2]) by hub.org (8.10.1/8.10.1) with ESMTP id e55IQrW16719 for ; Mon, 5 Jun 2000 14:26:54 -0400 (EDT) Received: from ec.gc.ca (IDENT:huangb@sandtstudent [131.235.150.249]) by sandtstudent.pyr.ec.gc.ca (8.9.3/8.9.3) with ESMTP id LAA12156; Mon, 5 Jun 2000 11:27:09 -0700 Message-ID: <393BF0F8.64EA1CE1@ec.gc.ca> Date: Mon, 05 Jun 2000 11:27:04 -0700 From: Bernie Huang Organization: Environment Canada X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 To: PGSQL-SQL CC: PHP-PGSQL Subject: Problem with array Content-Type: multipart/mixed; boundary="------------571BD5FBEE1BB94E194752DD" X-Archive-Number: 200006/45 This is a multi-part message in MIME format. --------------571BD5FBEE1BB94E194752DD Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Hi, Instead of using select car_name from car_table where car_property[1]='1995'; (*) Can I use where car_property['year']='1995'; in Postgres?? I want to use a more descriptive name than just using index for the array (not just during insertion but as well as to specify it in table creation!) Any idea? Thanks. - Bernie --------------571BD5FBEE1BB94E194752DD Content-Type: text/x-vcard; charset=iso-8859-15; name="bernie.huang.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Bernie Huang Content-Disposition: attachment; filename="bernie.huang.vcf" begin:vcard n:Huang;Bernie tel;fax:(604)664-9195 tel;work:(604)664-9172 x-mozilla-html:TRUE org:Environment Canada;Standards and Technology Services adr:;;700-1200 West 73 Ave.;Vancouver;BC;V6P 6H9;Canada version:2.1 email;internet:bernie.huang@ec.gc.ca title:Programmer x-mozilla-cpt:;0 fn:Bernie Huang end:vcard --------------571BD5FBEE1BB94E194752DD--