pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hitesh Kumar Gulati <hkg@plasma.ernet.in>
To: pgsql-sql@postgresql.org
Subject: Problem
Date: Thu, 19 Nov 1998 17:32:50 -0500
Message-ID: <36549C92.660@plasma.ernet.in> (raw)

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@plasma.ernet.in
					Ph. (079)-2864023 (O)
					Engineer - SC
					Institute For Plasma Research
					Near Indira Bridge
					Bhat Gandhinagar(GUJARAT)



view thread (4+ messages)  latest in thread

Message-ID: <36549C92.660@plasma.ernet.in>
Permalink:  ../36549C92.660@plasma.ernet.in/
Also on:    postgresql.org/message-id/36549C92.660@plasma.ernet.in

 · 

reply

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: <36549C92.660@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