Since I'm still developing the SQLDev (Yea I didn't post the progress yet) I'm programming database cleaner php based so here is the first function that I've coded
PHP Code:
<?php
function CleanDBACC()
{
$query = $this->Query("DELETE FROM TB_User WHERE NOT EXISTS (SELECT * FROM SR_ShardCharNames WHERE SR_ShardCharNames.UserJID=TB_User.JID)");
if(...//
}
?>
You can execute it to clean useless accounts from database and have clean database to prevent some lags ;pQuote:
DELETE FROM TB_User WHERE NOT EXISTS (SELECT * FROM SR_ShardCharNames WHERE SR_ShardCharNames.UserJID=TB_User.JID)
If you copied don't forget to credit me
Ciao,
LastThief






