Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2001071

RE: [PHP-DB] data consistency From: Robert Klinkenberg (robert <email protected>)
Date: 07/13/01

MySQL supports transactions so you can submit multiple SQL statements
and commit them all at once.

example of statement (from www.mysql.com)

BEGIN;
SELECT  <email protected>:=SUM(salary) FROM table1 WHERE type=1;
UPDATE table2 SET summmary= <email protected> WHERE type=1;
COMMIT;

Robert Klinkenberg

> -----Oorspronkelijk bericht-----
> Van: andRie Is [SMTP:andrie <email protected>]
> Verzonden: Friday, July 13, 2001 2:19 AM
> Aan: php-db <email protected>
> Onderwerp: [PHP-DB] data consistency
>
> Hello php-db,
>
> is PHP / Mysql could handle multiple access into table to keep data
> consistency ?
>
>
> ,,,
> ( <email protected>@)
> +==---o00----(_)----00o-----==+
>
> "It is better to be defeated on principle than to win on lies."
> --Arthur Calwell
> --
> Best regards,
> andRie
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe <email protected>
> For additional commands, e-mail: php-db-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>