Problem

From: Hitesh Kumar Gulati <hkg(at)plasma(dot)ernet(dot)in>
To: pgsql-sql(at)postgresql(dot)org
Subject: Problem
Date: 1998-11-19 22:32:50
Message-ID: 36549C92.660@plasma.ernet.in
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

How to update a particular element of a field of data type array .
I am using update and set combined statement .It is accepting but it is
not displaying with select statement.
-- create table test(
shotno int4 not null,
data int2[],
constraint chk_shot check(shotno >= 0)
);
update test set data[1]= %d where shotno=2929;

Hitesh kumar Gulati
E-mail-:hkg(at)plasma(dot)ernet(dot)in
Ph. (079)-2864023 (O)
Engineer - SC
Institute For Plasma Research
Near Indira Bridge
Bhat Gandhinagar(GUJARAT)

Responses

  • Re: Problem at 1998-11-24 14:11:52 from Hitesh Kumar Gulati

Browse pgsql-sql by date

  From Date Subject
Next Message Michael Olivier 1998-11-20 02:26:08 optimizing 2-table join w/millions of rows
Previous Message G. Anthony Reina 1998-11-19 22:11:28 Postgres installed but my C programs won't compile