Bricktop Posted October 4, 2016 Report Share Posted October 4, 2016 Hey guys, I have around 13k items in my object data - I want to delete abandoned safes and lock boxes from the server (NOT just reset to 0000 - I already do this) I have very little knowledge when it comes to SQL's - I tried these but nothing was deleted. Could someone please help? DELETE FROM `object_data` WHERE `LastUpdated` < DATE_SUB(CURRENT_TIMESTAMP, INTERVAL 7 DAY) AND `Classname` = "VaultStorageLocked" AND `Inventory` <> '[]' AND `Inventory` IS NOT NULL ================================ DELETE FROM `object_data` WHERE `LastUpdated` < DATE_SUB(CURRENT_TIMESTAMP, INTERVAL 7 DAY) AND `Classname` IN ('Wooden_shed_DZ','WoodShack_DZ', 'TentStorage', 'TentStorageDomed', 'TentStorageDomed2', 'WoodCrate_DZ', 'GunRack_DZ', 'OutHouse_DZ', 'StorageShed_DZ', 'VaultStorage', 'LockboxStorage') ================================ Thanks, ================================ P.S. Is it safe to delete the contents of the HiveExt.log ? It's over 100k in size. Link to comment Share on other sites More sharing options...
Tech_Support Posted October 5, 2016 Report Share Posted October 5, 2016 Are your Sql events turned on? Bricktop 1 Link to comment Share on other sites More sharing options...
Bricktop Posted October 6, 2016 Author Report Share Posted October 6, 2016 On 10/4/2016 at 11:24 PM, Tech_Support said: Are your Sql events turned on? yes Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now