日期:2014-05-17 浏览次数:20338 次
if exists (select * from sys.objects where name='csp_Crm_DeleteNews')
drop proc csp_Crm_DeleteNews
go
create proc csp_Crm_DeleteNews
@ID char(500)
as
update Crm_News set IsDeleted = 1 where ID in (@ID)
go
exec('update Crm_News set IsDeleted = 1 where ID in (' + @ID + ')')