Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 22.09.2005, 20:59   #1
LDragonL
Архивный участник
 
Join Date: May 2005
Posts: 133
Default Need help with sql cleanup script

Hi,
I'm trying to make a cleanup script to delete accoutns from db that aren't used for like a month.
I tried much out myself (some examples below)
Can someone teach me how to use the correct commands.
Tried to look for explanations on google but i didn't find any understandable explanations.
Would be nice if someone can advice me on this one.

Greetz


DELETE FROM user_account WHERE last_logout < 20-8-2005 8:00:00
DELETE FROM user_account WHERE last_logout < 208200580000
DELETE FROM user_account where last_login = NULL
LDragonL is offline  
 


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 22:15.