Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Help

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 11.06.2006, 19:22   #10
GMan
Архивный участник
 
Join Date: Sep 2005
Posts: 198
Default

to stop that error message update you lin_LoadDayUsedTime to this


/********************************************
lin_LoadDayUsedTime
load account's today used time
INPUT
account_id
OUTPUT
return
used sec INT
made by
G-Man
date
04-20-2005
********************************************/
CREATE PROCEDURE [dbo].[lin_LoadDayUsedTime]
(
@account_id INT
)
AS

SET NOCOUNT ON

IF NOT EXISTS (SELECT TOP 1 used_sec, convert(varchar(19), last_logout, 121) FROM time_data (nolock) WHERE account_id = @account_id)
INSERT INTO time_data VALUES(@account_id, GETDATE(), 0)

SELECT TOP 1 used_sec, convert(varchar(19), last_logout, 121) FROM time_data (nolock) WHERE account_id = @account_id
GO
GMan is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:55.