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
31
decomp/schema/RustyHearts/procs/up_insert_inquiry.sql
Normal file
31
decomp/schema/RustyHearts/procs/up_insert_inquiry.sql
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
CREATE PROCEDURE [dbo].[up_insert_inquiry]
|
||||
@auth_id uniqueidentifier,
|
||||
@character_id uniqueidentifier,
|
||||
@type tinyint,
|
||||
@character_name nvarchar(16),
|
||||
@bcust_id nvarchar(50),
|
||||
@count tinyint,
|
||||
@memo nvarchar(255),
|
||||
@compulsion tinyint,
|
||||
@registertime datetime
|
||||
|
||||
as
|
||||
set nocount on
|
||||
|
||||
if NOT EXISTS (select @character_id from [dbo].[InquiryTable] with (READUNCOMMITTED) where [character_id] = @character_id)
|
||||
begin
|
||||
insert into InquiryTable
|
||||
values
|
||||
(
|
||||
@auth_id,
|
||||
@character_id,
|
||||
@type,
|
||||
@character_name,
|
||||
@bcust_id,
|
||||
@count,
|
||||
@memo,
|
||||
@compulsion,
|
||||
@registertime
|
||||
);
|
||||
end
|
||||
return @@error
|
||||
Loading…
Add table
Add a link
Reference in a new issue