当前位置:网站首页>SQLSERVER事物与锁的问题
SQLSERVER事物与锁的问题
2022-04-23 14:47:00 【CSDN问答】
请问,如果两事物同时对一行数据进行更改或读取时,第一个事务的锁会使第二个事务怎样?结束还是暂停?
采纳答案:
1、在一个事务正在更新数据时,其他的事务时不能修改的,只有等上一个事务完成后才能修改,但是不影响对数据的读取;
2、事务是一定存在先后顺序的,哪怕你同时点击两个一起执行;
版权声明
本文为[CSDN问答]所创,转载请带上原文链接,感谢
https://ask.csdn.net/questions/7693470
边栏推荐
- qt之.pro文件详解
- Proteus simulation design of DC adjustable regulated power supply (with simulation + paper and other data)
- epoll 的 ET,LT工作模式———实例程序
- SVN详细使用教程
- Usage of BC
- 三、梯度下降求解最小θ
- 2-Go变量操作
- One of the advanced applications of I / O reuse: non blocking connect -- implemented using select (or poll)
- Set up an AI team in the game world and start the super parametric multi-agent "chaos fight"
- Sword finger offer II 019 Delete at most one character to get palindrome (simple)
猜你喜欢

在游戏世界组建一支AI团队,超参数的多智能体「大乱斗」开赛

Ali developed three sides, and the interviewer's set of combined punches made me confused on the spot

UML项目实例——抖音的UML图描述

8.4 循环神经网络从零实现

The art of automation

数组模拟队列进阶版本——环形队列(真正意义上的排队)

Using MATLAB programming to realize the steepest descent method to solve unconstrained optimization problems

编程哲学——自动加载、依赖注入与控制反转

QT interface optimization: QT border removal and form rounding

【JZ46 把数字翻译成字符串】
随机推荐
51 MCU + LCD12864 LCD Tetris game, proteus simulation, ad schematic diagram, code, thesis, etc
抑郁症治疗的进展
Parameter stack pressing problem of C language in structure parameter transmission
Arduino for esp8266串口功能简介
MDS55-16-ASEMI整流模块MDS55-16
一个月把字节,腾讯,阿里都面了,写点面经总结……
Advanced application of I / O multiplexing: Processing TCP and UDP services at the same time
【Proteus仿真】自动量程(范围<10V)切换数字电压表
直流可调稳压电源的Proteus仿真设计(附仿真+论文等资料)
SHT11传感器的温度湿度监控报警系统单片机Proteus设计(附仿真+论文+程序等)
51 Single Chip Microcomputer Design of traffic light system (with Proteus simulation, C program, schematic diagram, PCB, thesis and other complete data)
What is the main purpose of PCIe X1 slot?
UML项目实例——抖音的UML图描述
ArrayList collection basic usage
[jz46 translate numbers into strings]
自动化的艺术
Swift protocol Association object resource name management multithreading GCD delay once
Using MATLAB programming to realize the steepest descent method to solve unconstrained optimization problems
go基础 反射
How do I open the win10 startup folder?