From: Hitesh Kumar Gulati <hkg@plasma.ernet.in>
To: pgsql-sql@postgresql.org
Subject: Re: Problem
Date: Tue, 24 Nov 1998 09:11:52 -0500
Message-ID: <365ABE91.3672@plasma.ernet.in> (raw)
References: <36549C92.660@plasma.ernet.in>
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
>
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: hkg@plasma.ernet.in
Subject: Re: Problem
In-Reply-To: <365ABE91.3672@plasma.ernet.in>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox