Sign in
Google apps
Main menu
Post a Comment On:
Blogpad
"SQL Loop with Temp Table"
No comments yet. -
1 – 0 of 0
declare @id int
while exists(select 1 from #ids)
begin
select top 1 @id = id from #ids
--
-- do stuff
--
delete from #ids where id = @id
end
posted by fc at
12:48 PM
on Mar 13, 2011
Leave your comment
You can use some HTML tags, such as
<b>, <i>, <a>
This blog does not allow anonymous comments.
Google Account
You will be asked to sign in after submitting your comment.
Please prove you're not a robot
"SQL Loop with Temp Table"
No comments yet. -