如果Destination Name列为null或为空,则需要用Source表的name列更新Destination表中的name列。但是不知何故Case语句不能正常工作Set name = Case when nullif(d.name,'') is null then s.name else null endFrom destination d join
Source s on d.id =
我试图从表中删除“ID”列为空的所有行,但“group”列为“Everyone”的行除外。我该怎么做?我尝试过以上查询的不同组合,但没有一种有效。delete from LANReporter where NOT [Group] = 'everyone' AND [ID] IS NULL AND
[Server] = 'sv73938'