Reply to Re: OCI_DEFAULT and OCI_COMMIT_ON_SUCCESS

Your name:

Reply:


Posted by Tijs Verwest on 04/10/06 23:30

How do you cross post ?


"Mladen Gogala" <gogala@sbcglobal.net> a ιcrit dans le message de news:
pan.2006.04.10.06.41.27.541919@sbcglobal.net...
> On Mon, 10 Apr 2006 00:08:38 +0200, Tijs Verwest wrote:
>
>> I found this on http://www.orafaq.com/faqphp.htm :
>>
>> When using the OCI Extension Module, PHP will commit whenever
>> ociexecute()
>> returns successfully. One can control this behaviour by specifying
>> OCI_COMMIT_ON_SUCCESS (the default) or OCI_DEFAULT as the second
>> parameter
>> to the ociexecute() function call. OCI_DEFAULT can be used to prevent
>> statements from being auto-committed. The OCICommit() and OCIRollback()
>> functions can then be used to control the transaction.
>>
>> But I don't see any difference between OCI_DEFAULT and
>> OCI_COMMIT_ON_SUCCESS
>> both commit my insertions in the database. Can someone tell me what's the
>> difference between the two?
>>
>> I use OCI_DEFAULT all the time and I never have to commit anything...
>
>
> I responded to this on comp.databases.oracle.server. Please, crosspost,
> don't multipost.
>
> --
> http://www.mgogala.com
>

[Back to original message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация