declare @a varchar(255)
declare cr_a cursor  for
select name from sysobjects
open cr_a
fetch next from cr_a into @a
while @@fetch_status=0
begin
  select @a /*你的处理过程*/
  fetch next from cr_a into @a
end
deallocate cr_a看在你有那么多分的份上~~ :-)