pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: mallah@trade-india.com
To: mario_soto@compuall.cl
Cc: pgsql-sql@postgresql.org
Subject: Re: PROBLEM WITH UPDATE COMMAND
Date: Thu, 8 May 2003 21:15:32 +0530 (IST)
Message-ID: <1265.219.65.253.168.1052408732.squirrel@mail.trade-india.com> (raw)
In-Reply-To: <4276.192.168.1.100.1052349706.squirrel@www.compuall.cl>
References: <4276.192.168.1.100.1052349706.squirrel@www.compuall.cl>


if you using psql
update command prints no of rows updated as

UPDATE X


what is  X in ur case?

in case X is 0 where are high changes that WHERE clause did not
match anything

regds
mallah

>
> Hi, i have a problem whith make a update command
> the record not change
> the sql it´s
>
> update fimacli set
> ficiucli = 1 ,
> ficomcli = 57 ,
> fidircli = 'aaa' ,
> finomcli = 'MARIO' ,
> sirf1cli = '0' ,
> sirf2cli = '0' ,
> sirf3cli = '0' ,
> sirf4cli = '0' ,
> sirf5cli = '0' ,
> userid = 'MSOTO' ,
> fifoncli = '8601812' ,
> fifaxcli = '091811222' ,
> fiocucli = 'INGENIERO' ,
> fitracli = 'COMPUALL' ,
> fiftrcli = '1234567' ,
> fidtrcli = 'MONTSERRAT' ,
> fiappcli = 'SOTO' ,
> fiapmcli = 'CORDONES' ,
> fimaicli = 'MARIOSOTOCL@YAHOO.COM'
> where
> fiempcli =  10 and
> fisedcli = 1 and
> firutcli = '106426481'
>
> when look the record it´s not changed
>
> any idea
>
> i have postgres 7.3.2 and redhat 8.0
>
> thank
>
>
> ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9'
> the postmaster



-----------------------------------------
Get your free web based email at trade-india.com.
   "India's Leading B2B eMarketplace.!"
http://www.trade-india.com/




view thread (2+ messages)

Message-ID: <1265.219.65.253.168.1052408732.squirrel@mail.trade-india.com>
Permalink:  ../1265.219.65.253.168.1052408732.squirrel@mail.trade-india.com/
Also on:    postgresql.org/message-id/1265.219.65.253.168.1052408732.squirrel@mail.trade-india.com

 · 

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: mallah@trade-india.com, mario_soto@compuall.cl
  Subject: Re: PROBLEM WITH UPDATE COMMAND
  In-Reply-To: <1265.219.65.253.168.1052408732.squirrel@mail.trade-india.com>

* 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