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
23
decomp/schema/RustyHearts/procs/up_read_mail.sql
Normal file
23
decomp/schema/RustyHearts/procs/up_read_mail.sql
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
CREATE PROCEDURE [dbo].[up_read_mail]
|
||||
@character_id [uniqueidentifier]
|
||||
|
||||
as
|
||||
set nocount on
|
||||
set transaction isolation level read uncommitted
|
||||
|
||||
select ID,
|
||||
character_id,
|
||||
receiver,
|
||||
send_character_id,
|
||||
sender,
|
||||
msg,
|
||||
gold,
|
||||
return_day,
|
||||
req_gold,
|
||||
is_open,
|
||||
create_time,
|
||||
create_type,
|
||||
DATEDIFF ( day , create_time, getdate() ) as diff_day
|
||||
from dbo.MailTable with (nolock) where character_id = @character_id order by create_time desc;
|
||||
|
||||
return @@error
|
||||
Loading…
Add table
Add a link
Reference in a new issue