Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- declare @ids table (id int primary key)
- insert into @ids (id)
- select 1 union all
- select 2 union all
- ...
- select 3000
- delete from table_name where id in
- (select id from @ids)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement