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
21
decomp/schema/RustyHearts_Log/procs/Plan_DailyWorldSave.sql
Normal file
21
decomp/schema/RustyHearts_Log/procs/Plan_DailyWorldSave.sql
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
CREATE PROCEDURE [dbo].[Plan_DailyWorldSave]
|
||||
@world_id int,
|
||||
@gold bigint,
|
||||
@storage_gold bigint,
|
||||
@entry_date datetime
|
||||
as
|
||||
set nocount on
|
||||
|
||||
set xact_abort on
|
||||
begin tran
|
||||
|
||||
insert into Daily_World_Gold(world_id, gold, storage_gold, date)
|
||||
values(@world_id, @gold, @storage_gold, @entry_date)
|
||||
|
||||
if(@@error <> 0)
|
||||
begin
|
||||
rollback
|
||||
return
|
||||
end
|
||||
|
||||
commit
|
||||
Loading…
Add table
Add a link
Reference in a new issue