diff --git a/reference/oci8/functions/oci-execute.xml b/reference/oci8/functions/oci-execute.xml index 541eea3312..3881908507 100644 --- a/reference/oci8/functions/oci-execute.xml +++ b/reference/oci8/functions/oci-execute.xml @@ -92,11 +92,11 @@ - When using OCI_NO_AUTO_COMMIT mode, you're - creating a transaction. Transactions are automatically rolled - back when the connection is closed, or when the script ends. - Explicitly call oci_commit to commit a - transaction, or oci_rollback to abort it. + Using OCI_NO_AUTO_COMMIT mode starts a + transaction. Transactions are automatically rolled back when + the connection is closed, or when the script ends. Explicitly + call oci_commit to commit a transaction, + or oci_rollback to abort it. When inserting or updating data, using transactions is @@ -104,15 +104,16 @@ reasons. - If you use OCI_NO_AUTO_COMMIT mode for any - statement including queries, and you do not subsequently - call oci_commit - or oci_rollback, then OCI8 will perform a - rollback at the end of the script even if no data was changed. - To avoid an unnecessary rollback, many scripts do not + If OCI_NO_AUTO_COMMIT mode is used for any + statement including queries, and + oci_commit + or oci_rollback is not subsequently + called, then OCI8 will perform a rollback at the end of the + script even if no data was changed. To avoid an unnecessary + rollback, many scripts do not use OCI_NO_AUTO_COMMIT mode for queries or PL/SQL. Be careful to ensure the appropriate transactional - consistency for your application when + consistency for the application when using oci_execute with different modes in the same script. @@ -253,10 +254,9 @@ for ($i = 1; $i <= oci_num_fields($stid); ++$i) { &reftitle.notes; - Transactions are automatically rolled back when you close the - connection, or when the script ends, whichever is soonest. You - need to explicitly call oci_commit to commit - the transaction. + Transactions are automatically rolled back when connections are + closed, or when the script ends, whichever is soonest. Explicitly + call oci_commit to commit a transaction. Any call to oci_execute that uses @@ -280,9 +280,8 @@ for ($i = 1; $i <= oci_num_fields($stid); ++$i) { - In PHP versions before 5.0.0 you must - use ociexecute instead. - &oci.name.compat.note; + In PHP versions before 5.0.0 use ociexecute + instead. &oci.name.compat.note;