Hanashi Posted November 17, 2016 Group: Members Topic Count: 42 Topics Per Day: 0.01 Content Count: 114 Reputation: 40 Joined: 10/23/13 Last Seen: Thursday at 07:57 PM Share 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 Link to comment Share on other sites More sharing options...
0 Jey Posted November 17, 2016 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 249 Reputation: 73 Joined: 10/20/12 Last Seen: August 16, 2018 Share 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 Link to comment Share on other sites More sharing options...
Question
Hanashi
how to select remove all inventory items from the database and change group id of a certain account using sql script?
Link to comment
Share on other sites
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.