存储过程实现批量删除

ALTER proc [dbo].[P_DelAll]
@AllId nvarchar(50)
as
declare @Sql nvarchar(200)
set @Sql='DELETE Curricula WHERE CurriculaId in ('+@AllId+')' exec(@Sql)

posted on 2012-04-18 13:24  水行者  阅读(224)  评论(0编辑  收藏  举报

导航