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
30
decomp/schema/RustyHearts/procs/up_insert_quest.sql
Normal file
30
decomp/schema/RustyHearts/procs/up_insert_quest.sql
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
CREATE PROCEDURE [dbo].[up_insert_quest]
|
||||
@quest_uid [uniqueidentifier],
|
||||
@character_id [uniqueidentifier],
|
||||
@instance_npc_id int,
|
||||
@quest_code int,
|
||||
@quest_state int
|
||||
|
||||
as
|
||||
set nocount on
|
||||
|
||||
insert into QuestTable
|
||||
values
|
||||
( @quest_uid, --0
|
||||
@character_id, --1
|
||||
@instance_npc_id, --2
|
||||
@quest_code, --3
|
||||
@quest_state, --4
|
||||
0, --5
|
||||
0, --6
|
||||
0, --7
|
||||
0,
|
||||
0,
|
||||
GetDate(),
|
||||
GetDate(),
|
||||
1
|
||||
);
|
||||
|
||||
select * from dbo.QuestTable with (READUNCOMMITTED) where quest_uid = @quest_uid
|
||||
|
||||
return @@error
|
||||
Loading…
Add table
Add a link
Reference in a new issue