Count all users on Stack Exchange

0

Please login or register to vote for this query.

(click on this box to dismiss)

https://meta.stackexchange.com/questions/228564/count-all-users-on-stack-exchange/360645#360645 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

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