sql存储过程-----批量删除

create proc sp_delete –创建存储过程 @strid varchar(max) –参数 格式”1,2,…” as declare @temp Table (a varchar(100))–创建临时表 begin –把参数@strid分割成int 数组并插入临时表@temp declare @i int set @strid=RTRIM(LTRIM(@strid)) set @i
相关文章
相关标签/搜索