首页
技术
登录
6mi
u
盘
搜
搜 索
技术
SqlServer实现Mysql的replace
SqlServer实现Mysql的replace
技术
2023-07-31
74
Merge
Into
t_A
As
a
Using
t_B
as
b
on
a
.
id
=
b
.
id
When
Matched
then
update
set
a
.
SNO
=
b
.
SNO
When
Not
Matched
then
Insert
(
id
,
SNO
)
values
(
b
.
id
,
b
.
SNO
)
;
转载请注明原文地址:https://ipadbbs.8miu.com/read-43621.html
最新回复
(
0
)