Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
lily — — source: Informix-list mailing list archive (1991-1998)
Hi, all
When I run a update sql in dbaccess, occur a strange things:
select count(*) from tab1 where <condition>, it return about 1200 rows.
but using the same condition,
update tab1 set field1=** where <condition>, everytime it only update129 rows.
I don't know why?
Thanks a lot.
↪ replying to lily
Chetan Anand — — source: Informix-list mailing list archive (1991-1998)
Pl. run UPDATE STATISTICS which should solve the discrepancies.
lily wrote:
> Hi, all
>
> When I run a update sql in dbaccess, occur a strange things:
> select count(*) from tab1 where <condition>, it return about 1200 rows.
> but using the same condition,
> update tab1 set field1=** where <condition>, everytime it only update> 129 rows.
> I don't know why?
>
> Thanks a lot.
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.