decomp DBCServer_Release and inspect/document database

This commit is contained in:
Benjamin Palko 2026-10-14 23:22:03 -04:00
parent 4b267cbe05
commit 7834b98bf0
28222 changed files with 843300 additions and 144 deletions

View file

@ -0,0 +1,12 @@
CREATE PROCEDURE [dbo].[up_get_all_guild_count]
AS
BEGIN
SET NOCOUNT ON
set transaction isolation level read uncommitted
--SELECT count(*) COUNT FROM GuildTable WHERE [block_type] = 0 --and [server] = @server
select count(*) guild_count FROM
( select G.[guild_id] from GuildMemberTable M INNER JOIN GuildTable G ON G.[guild_id]=M.[guild_id] AND G.[block_type]=0 GROUP BY G.guild_id ) A;
END