Re: PHP, MSSQL7 & Transactions
| From: | Frank M. Kromann | Date: | Wed, 25 Apr 2001 21:20:08 +0000 |
| Subject: | Re: PHP, MSSQL7 & Transactions | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-50363@lists.php.net to get a copy of this message | ||
you just have to execute a statement starting and ending the transaction.
BEGIN TRANSACTION
COMMIT
ROLLBACK
Yuu send thes commands to the server with mssql_query() as any other SQL statement.
- Frank
> I am trying to implement transactions using PHP and MSSQL 7 (Microsoft). Please tell me if
> there is a simple way of doing this, as there is for Interbase or Oracle, using the appropriate
> functions.eg ***_rollback or whatever.
>
> Regards
> Andrew
>