SQLServer判斷知足條件的記錄是否存在,存在就更新,不然就插入

if exists(select * from 表名 where 判斷記錄存在的條件) begin update...更新語句 end else begin insert...插入語句 endspa
相關文章
相關標籤/搜索