運用Merge Into實現增加或更新數據

declare @SqlStr as nvarchar(max) set @SqlStr=N'Merge Into [Categories] t USING(VALUES (9,''rice'',''main food'',null)) AS s ([CategoryID],[CategoryName],[Description],[Picture]) on t.[Categor
相關文章
相關標籤/搜索