当前位置:网站首页>Example of batch update statement combining update and inner join in SQL Server
Example of batch update statement combining update and inner join in SQL Server
2022-07-06 17:33:00 【geekqian】
Reference resources : https://stackoverflow.com/a/9589124
UPDATE R
SET R.status = '0'
FROM dbo.ProductReviews AS R
INNER JOIN dbo.products AS P
ON R.pid = P.id
WHERE R.id = '17190'
AND P.shopkeeper = '89137';
边栏推荐
- PostgreSQL 14.2, 13.6, 12.10, 11.15 and 10.20 releases
- Flink parsing (III): memory management
- Case: check the empty field [annotation + reflection + custom exception]
- 02 personal developed products and promotion - SMS platform
- JVM之垃圾回收器下篇
- vscode
- Detailed explanation of data types of MySQL columns
- MySQL basic addition, deletion, modification and query of SQL statements
- EasyRE WriteUp
- Application service configurator (regular, database backup, file backup, remote backup)
猜你喜欢
微信防撤回是怎么实现的?
复盘网鼎杯Re-Signal Writeup
Program counter of JVM runtime data area
February database ranking: how long can Oracle remain the first?
网络分层概念及基本知识
The most complete tcpdump and Wireshark packet capturing practice in the whole network
Flink 解析(七):时间窗口
List集合数据移除(List.subList.clear)
JVM之垃圾回收器下篇
Start job: operation returned an invalid status code 'badrequst' or 'forbidden‘
随机推荐
CTF逆向入门题——掷骰子
基于LNMP部署flask项目
网络分层概念及基本知识
Only learning C can live up to expectations top2 P1 variable
MySQL报错解决
JS garbage collection mechanism and memory leakage
JUnit unit test
信息与网络安全期末复习(基于老师给的重点)
Coursera cannot play video
Flink parsing (IV): recovery mechanism
当前系统缺少NTFS格式转换器(convert.exe)
Connect to LAN MySQL
Garbage first of JVM garbage collector
CTF reverse entry question - dice
MySQL advanced (index, view, stored procedure, function, password modification)
轻量级计划服务工具研发与实践
Redis quick start
学习投资大师的智慧
Flink analysis (II): analysis of backpressure mechanism
EasyRE WriteUp