Subject | Re: [ib-support] losing data |
---|---|
Author | Dimitry Sibiryakov |
Post date | 2003-04-23T02:55:11Z |
On 22 Apr 2003 at 21:19, Geoff Rees wrote:
If you use something like UPDATE table SET field1=?, field2=?...
and rewrite all fields of table... you are in troubles. Use run-time
generated SQL sentences.
SY, Dimitry Sibiryakov.
> [using IB6.0x]. We have the situation that often the same recordWhat SQL query you use to update fields? What component set?
> is selected by 2 computers at approx the same time. One computer
> is used to update 2 fields, the other computer another 2 different
> fields.
If you use something like UPDATE table SET field1=?, field2=?...
and rewrite all fields of table... you are in troubles. Use run-time
generated SQL sentences.
>What is the solution? Can you lock certain fields?AFAIK you can keep unchanged fields untouched.
SY, Dimitry Sibiryakov.