Code:
Exec _Guild_Create @struserid,@refcharid; Exec _Guild_Create @struserid1,@refcharid1
Exec _Guild_Create @struserid2,@refcharid2; Exec _Guild_Create @struserid3,@refcharid3
Declare @2ndGuild int = (Select ID from SRO_VT_SHARD.dbo._Guild with (nolock) where Name = @struserid )
, @3rdGuild int = (Select ID from SRO_VT_SHARD.dbo._Guild with (nolock) where Name = @struserid1 )
, @4thGuild int = (Select ID from SRO_VT_SHARD.dbo._Guild with (nolock) where Name = @struserid2 )
, @5thGuild int = (Select ID from SRO_VT_SHARD.dbo._Guild with (nolock) where Name = @struserid3 )
Just a little hint for you tazdingo :)