当前位置:网站首页>Advanced learning of MySQL -- basics -- basic operation of transactions
Advanced learning of MySQL -- basics -- basic operation of transactions
2022-07-07 00:34:00 【Magic pig 9898】
View transaction submission method
select @@autocommit ;
1: Is to automatically submit
0: Is to submit it manually
Set the transaction submission method to manual submission
select @@autocommit = 0;
Commit transaction
commit ;
Roll back the transaction
rollback;
How to start a transaction if it is not submitted manually
start transacttion
perhaps
begin
here , without commit
It doesn't work .
边栏推荐
- 数据运营平台-数据采集[通俗易懂]
- uniapp中redirectTo和navigateTo的区别
- AI super clear repair resurfaces the light in Huang Jiaju's eyes, Lecun boss's "deep learning" course survival report, beautiful paintings only need one line of code, AI's latest paper | showmeai info
- 华为mate8电池价格_华为mate8换电池后充电巨慢
- 《LaTex》LaTex数学公式简介「建议收藏」
- Leecode brush questions record sword finger offer 44 A digit in a sequence of numbers
- Leecode brushes questions to record interview questions 17.16 massagist
- 沉浸式投影在线下展示中的三大应用特点
- TypeScript中使用类型别名
- Understand the misunderstanding of programmers: Chinese programmers in the eyes of Western programmers
猜你喜欢
Geo data mining (III) enrichment analysis of go and KEGG using David database
Mujoco second order simple pendulum modeling and control
三维扫描体数据的VTK体绘制程序设计
@TableId can‘t more than one in Class: “com.example.CloseContactSearcher.entity.Activity“.
AI超清修复出黄家驹眼里的光、LeCun大佬《深度学习》课程生还报告、绝美画作只需一行代码、AI最新论文 | ShowMeAI资讯日报 #07.06
37頁數字鄉村振興智慧農業整體規劃建設方案
Lombok 同时使⽤ @Data 和 @Builder 的坑,你中招没?
System activity monitor ISTAT menus 6.61 (1185) Chinese repair
How engineers treat open source -- the heartfelt words of an old engineer
陀螺仪的工作原理
随机推荐
Value Function Approximation
Idea automatically imports and deletes package settings
GPIO简介
[boutique] Pinia Persistence Based on the plug-in Pinia plugin persist
DAY THREE
The programmer resigned and was sentenced to 10 months for deleting the code. Jingdong came home and said that it took 30000 to restore the database. Netizen: This is really a revenge
Devops can help reduce technology debt in ten ways
vector的使用方法_vector指针如何使用
Leecode brush questions record sword finger offer 11 Rotate the minimum number of the array
Leecode brushes questions to record interview questions 17.16 massagist
智能运维应用之道,告别企业数字化转型危机
How engineers treat open source -- the heartfelt words of an old engineer
Core knowledge of distributed cache
[CVPR 2022] semi supervised object detection: dense learning based semi supervised object detection
Testers, how to prepare test data
Common shortcuts to idea
Markov decision process
JWT signature does not match locally computed signature. JWT validity cannot be asserted and should
Mujoco Jacobi - inverse motion - sensor
How to use vector_ How to use vector pointer