当前位置:网站首页>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 .
边栏推荐
- AI超清修复出黄家驹眼里的光、LeCun大佬《深度学习》课程生还报告、绝美画作只需一行代码、AI最新论文 | ShowMeAI资讯日报 #07.06
- openresty ngx_ Lua subrequest
- 刘永鑫报告|微生物组数据分析与科学传播(晚7点半)
- Oracle EMCC 13.5 environment in docker every minute
- Common shortcuts to idea
- Designed for decision tree, the National University of Singapore and Tsinghua University jointly proposed a fast and safe federal learning system
- Leecode brush question record sword finger offer 58 - ii Rotate string left
- 2022/2/10 summary
- QT tutorial: creating the first QT program
- Quickly use various versions of PostgreSQL database in docker
猜你喜欢
Imeta | Chen Chengjie / Xia Rui of South China Agricultural University released a simple method of constructing Circos map by tbtools
VTK volume rendering program design of 3D scanned volume data
【vulnhub】presidential1
Article management system based on SSM framework
Data analysis course notes (III) array shape and calculation, numpy storage / reading data, indexing, slicing and splicing
St table
三维扫描体数据的VTK体绘制程序设计
DAY FOUR
Jenkins' user credentials plug-in installation
@TableId can‘t more than one in Class: “com.example.CloseContactSearcher.entity.Activity“.
随机推荐
2022/2/10 summary
What is AVL tree?
509 certificat basé sur Go
Mujoco second order simple pendulum modeling and control
X.509 certificate based on go language
刘永鑫报告|微生物组数据分析与科学传播(晚7点半)
Mujoco produces analog video
准备好在CI/CD中自动化持续部署了吗?
Value Function Approximation
PostgreSQL uses pgpool II to realize read-write separation + load balancing
MySQL learning notes (mind map)
Data analysis course notes (III) array shape and calculation, numpy storage / reading data, indexing, slicing and splicing
dynamic programming
Model-Free Prediction
Random类的那些事
48页数字政府智慧政务一网通办解决方案
openresty ngx_ Lua subrequest
iMeta | 华南农大陈程杰/夏瑞等发布TBtools构造Circos图的简单方法
沉浸式投影在线下展示中的三大应用特点
【YoloV5 6.0|6.1 部署 TensorRT到torchserve】环境搭建|模型转换|engine模型部署(详细的packet文件编写方法)