Home > Database > Mysql Tutorial > body text

mysql 事务控制 新增后修改

WBOY
Release: 2016-06-06 09:42:47
Original
1494 people have browsed it

mysql事务控制新增后修改

如题:
现在想寻求一个解决方案:
第一步:开启事务控制,
第二步:新增一条数据,
第三步:对新增的数据进行修改,
第四步:事务提交或者回滚。

请问有什么好的解决方案吗?谢谢

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!