create table #temp5(cnt int); EXEC dbo.sede_ineachdb @SQL...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

create table #temp5(cnt int); 
 EXEC dbo.sede_ineachdb 
@SQLCommand = N'
                   insert into #temp5 select id from users; 
                -- select * from #temp;
                -- select count(*) from #temp',
  @IncludeMainSites = 1,
  @IncludeMetaSites = 0,
  @CollectResultsForMe = 0,
  @IncludeMainMeta  = 0;
  
select * from #temp5

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results