decomp DBCServer_Release and inspect/document database
This commit is contained in:
parent
4b267cbe05
commit
7834b98bf0
28222 changed files with 843300 additions and 144 deletions
12
decomp/schema/RustyHearts/procs/up_insert_reward.sql
Normal file
12
decomp/schema/RustyHearts/procs/up_insert_reward.sql
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
CREATE PROCEDURE [dbo].[up_insert_reward]
|
||||
@type tinyint,
|
||||
@grade int
|
||||
|
||||
as
|
||||
set nocount on
|
||||
|
||||
insert into RewardTable( reward_type, character_id, character_name, reward_grade )
|
||||
select rank_type, character_id, char_name, grade
|
||||
from BattleRank
|
||||
with (READUNCOMMITTED)
|
||||
where [rank_type] = @type and [grade] <= @grade
|
||||
Loading…
Add table
Add a link
Reference in a new issue