RE: [PHP] Oracle OCIRollback not playing nicely
| From: | Dana dot Reed at clinicaldatacare dot com | Date: | Fri, 06 Oct 2000 09:58:32 +0000 |
| Subject: | RE: [PHP] Oracle OCIRollback not playing nicely | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-18851@lists.php.net to get a copy of this message | ||
Yep, that fixed it. Thanks so much for the help.
Med vänliga hälsningar
/Dana
-----Original Message-----
From: Stadtlich@mediaworx.com [SMTP:Stadtlich@mediaworx.com]
Sent: Friday, October 06, 2000 11:36 AM
To: Reed, Dana
Subject: AW: [PHP] Oracle OCIRollback not playing nicely
by default your server seems to be set up to commit each OCIExecute.
you need to use
OCIExecute($stmt, OCI_DEFAULT);
then commit or rollback by your own...
Sebastian
> -----Ursprüngliche Nachricht-----
> Von: Dana.Reed@clinicaldatacare.com
> [mailto:Dana.Reed@clinicaldatacare.com]
> Gesendet am: Freitag, 6. Oktober 2000 11:15
> An: php-general@lists.php.net
> Betreff: [PHP] Oracle OCIRollback not playing nicely
>
> RH Linux-Apache-PHP3-->Oracle 8i
>
> I have a series of updates and inserts that I would like to
> be considered 1 transaction. To test, I tossed the following
> line in to one of my scripts:
>
> OCIRollback($DB->db_CONN);
>
> All of the changes were committed as usual. Any ideas??
>
> Med vänliga hälsningar
> /Dana