我有3个mysql查询要运行
mysql_query( "create temporary table here ");
mysql_query( "UPDATE Statement goes here ");
mysql_query( "DROP temporary table here  ") or die(mysql_error())我如何将它们包装在一个事务中?
发布于 2012-05-14 18:33:18
在MySQL中,DDL语句永远不是事务的一部分,比如create temporary table here。
https://stackoverflow.com/questions/10581628
复制相似问题