Subject | Re: [IBO] Instructions sequence (2nd post) |
---|---|
Author | Lele Gaifax |
Post date | 2003-02-03T12:58:45Z |
>>>>> On Mon, 03 Feb 2003 12:32:25 -0000, "Fabio Bot <fabiobot@...>" <fabiobot@...> said:Fabio> Why need starts transaction always before prepare? The
>>> with IB_Cursor do begin Prepare; if not
>>> IB_Transaction.InTransaction then
>>> IB_Transaction.StartTransaction; <--- THIS MUST BE DONE BEFORE
>>> THE PREPARE.
Fabio> instructions sequence below is wrong?
Because *anything* you can do with a Firebird DB (accessing it through
the server, I mean :) must happen inside a transaction. That's the way
FB works.
ciao, lele.
--
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
email: lele@... | -- Fortunato Depero, 1929.