saben si la version de MySql 4.0.18 soporta transacciones ?, un ejemplo:
 
START TRANSACTION;
SELECT @A:=SUM(salary) FROM table1 WHERE type=1;
UPDATE table2 SET summary=@A WHERE type=1;
COMMIT;
 
Gracias!! 
  | 
 | |||
|  Trans en MySql   saben si la version de MySql 4.0.18 soporta transacciones ?, un ejemplo: START TRANSACTION; SELECT @A:=SUM(salary) FROM table1 WHERE type=1; UPDATE table2 SET summary=@A WHERE type=1; COMMIT; Gracias!! |