From: | Hitesh Kumar Gulati <hkg(at)plasma(dot)ernet(dot)in> |
---|---|
To: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: Problem |
Date: | 1998-11-24 14:11:52 |
Message-ID: | 365ABE91.3672@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
> hkg(at)plasma(dot)ernet(dot)in
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | pierre | 1998-11-24 14:57:56 | Re: [SQL] MINUS and slow 'not in' |
Previous Message | Vadim Mikheev | 1998-11-24 14:00:39 | Re: [HACKERS] Re: [SQL] cursor and update + view |