Count all users on Stack Exchange


Please login or register to vote for this query.

(click on this box to dismiss) sede_ineachdb

Artificial Intelligence

Q&A for people interested in conceptual questions about life and challenges in a world where "cognitive" functions can be mimicked in purely digital environment

create table #result(cnt int)

-- aggregate per database
insert into #result EXEC dbo.sede_ineachdb 
  @SQLCommand = N'select count(accountid) from dbo.users',
  @IncludeMainSites = 1,
  @IncludeMetaSites = 0, 
  @IncludeMainMeta  = 1;

select sum(cnt) from #result

DECLARE @cache_break int = ##CacheBreaker:Int##;

Enter Parameters

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