Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Server Modifications ONLY!

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 05.03.2007, 06:59   #10
khelben
Архивный участник
 
Join Date: Mar 2006
Posts: 104
Default

Small fix to your SQL.
Hardly noticable, but it may have been a character's first login, in that event logout would be null.

Code:
-- Charis start 
update lin2world.dbo.user_data
set logout = getdate()
where login > logout
-- Charis end
Becomes

Code:
update lin2world.dbo.user_data
set logout = getdate()
where login > isnull(logout, 0)
khelben 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 08:38.