SQLServer判断知足条件的记录是否存在,存在就更新,不然就插入

if exists(select * from 表名 where 判断记录存在的条件) begin update...更新语句 end else begin insert...插入语句 endspa
相关文章
相关标签/搜索