Re: Problem - Mailing list pgsql-sql

From Hitesh Kumar Gulati
Subject Re: Problem
Date
Msg-id 365ABE91.3672@plasma.ernet.in
Whole thread Raw
In response to Problem  (Hitesh Kumar Gulati <hkg@plasma.ernet.in>)
List 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@plasma.ernet.in
>
>


pgsql-sql by date:

Previous
From: Vadim Mikheev
Date:
Subject: Re: [SQL] cursor and update + view
Next
From: Herouth Maoz
Date:
Subject: Re: [SQL] select in update