Hanashi Posted November 17, 2016 Posted November 17, 2016 (edited) how to select remove all inventory items from the database and change group id of a certain account using sql script? Edited November 17, 2016 by AshiHanna Quote
0 Jey Posted November 17, 2016 Posted November 17, 2016 (edited) # Removes all inventory items from all characters DELETE FROM `inventory`; # Removes inventory items from character 150000 DELETE FROM `inventory` WHERE `char_id` = 150000; # Sets group_id to 1 of account 2000000 UPDATE `login` SET `group_id` = 1 WHERE `account_id` = 2000000; Edit: Don't forget to backup your database. Edited November 17, 2016 by Jey Quote
Question
Hanashi
how to select remove all inventory items from the database and change group id of a certain account using sql script?
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.