RE: [PHP-DB] data consistency

From: Date: Fri, 13 Jul 2001 16:25:10 +0000
Subject: RE: [PHP-DB] data consistency
Groups: php.db 
Request: Send a blank email to php-db+get-10386@lists.php.net to get a copy of this message
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 @A:=SUM(salary) FROM table1 WHERE type=1; UPDATE table2 SET summmary=@A WHERE type=1; COMMIT; Robert Klinkenberg > -----Oorspronkelijk bericht----- > Van: andRie Is [SMTP:andrie@ajk.its-sby.edu] > Verzonden: Friday, July 13, 2001 2:19 AM > Aan: php-db@lists.php.net > Onderwerp: [PHP-DB] data consistency > > Hello php-db, > > is PHP / Mysql could handle multiple access into table to keep data > consistency ? > > > ,,, > (@-@) > +==---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@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.db (#10386) next »