运用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
相关文章
相关标签/搜索