pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
PROBLEM WITH UPDATE COMMAND
2+ messages / 2 participants
[nested] [flat]

* PROBLEM WITH UPDATE COMMAND
@ 2003-05-07 23:21  Mario Alberto Soto Cordones <mario_soto@compuall.cl>
  0 siblings, 1 reply; 2+ messages in thread

From: Mario Alberto Soto Cordones @ 2003-05-07 23:21 UTC (permalink / raw)
  To: pgsql-sql


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




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: PROBLEM WITH UPDATE COMMAND
@ 2003-05-08 15:45  mallah@trade-india.com
  parent: Mario Alberto Soto Cordones <mario_soto@compuall.cl>
  0 siblings, 0 replies; 2+ messages in thread

From: mallah@trade-india.com @ 2003-05-08 15:45 UTC (permalink / raw)
  To: mario_soto@compuall.cl; +Cc: pgsql-sql


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/




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2003-05-08 15:45 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-05-07 23:21 PROBLEM WITH UPDATE COMMAND Mario Alberto Soto Cordones <mario_soto@compuall.cl>
2003-05-08 15:45 ` mallah@trade-india.com

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