Subject | Re: [firebird-support] DB Design Question - include large blob in master table, or separate table |
---|---|
Author | Ann W. Harrison |
Post date | 2008-01-30T18:34:30Z |
Maya Opperman wrote:
a - start transaction
b - update StockTable field1
c - if (condition) update StockTable field2
d - if (other condition) update StockTable field1
...
commit
Updating multiple fields in the same record from one transaction
is no problem.
Good luck,
Ann
>This is exactly the same as
> Nope, I was worried about: (pseudo code)
>
> a- Start Transaction
> b- update StockTable small fields
> c- if New-Image-Selected then
> update same StockTable record's blob field (in a separate SQL
> statement)
> d- Commit
>
a - start transaction
b - update StockTable field1
c - if (condition) update StockTable field2
d - if (other condition) update StockTable field1
...
commit
Updating multiple fields in the same record from one transaction
is no problem.
Good luck,
Ann