Mass Edit SQL DB Item removal from all inventory.

Results 1 to 15 of 15
  1. #1

    ! Mass Edit SQL DB Item removal from all inventory.

    Ok so i know what item ID i need to have removed. I read a post reffering how to remove just from 1 person's inventory. However i do know there is a way to remove from all accounts all at 1 time. Could i possibly get a step by step or a example query code in order to input to have all removed. Doing 1 by 1 will be purely HELL! I'll also need to know where to input for guild storages too.


  2. #2
    Alpha Member Cyndaquil is offline
    MemberRank
    Mar 2012 Join Date
    EnglandLocation
    2,137Posts

    Re: Mass Edit SQL DB Item removal from all inventory.

    Probably by doing a Query of some sort.

  3. #3

    Re: Mass Edit SQL DB Item removal from all inventory.

    Yeah it is a query but i want to make sure i have the right input. Don't wanna screw up my whole SQL DB now lol

  4. #4
    Account Upgraded | Title Enabled! LolOmgNoob is offline
    MemberRank
    Nov 2012 Join Date
    241Posts

    Re: Mass Edit SQL DB Item removal from all inventory.

    DELETE FROM w00_Character.dbo.tItem WHERE nItemID = '999999'

    Replace 999999 with whatever the ID is in your shn for your item.

  5. #5

    Re: Mass Edit SQL DB Item removal from all inventory.

    That dun even look like a query code command lol

  6. #6
    Account Upgraded | Title Enabled! LolOmgNoob is offline
    MemberRank
    Nov 2012 Join Date
    241Posts

    Re: Mass Edit SQL DB Item removal from all inventory.

    Okay...... then. I tried to help you, but I guess you don't need it.

  7. #7
    Alpha Member Cyndaquil is offline
    MemberRank
    Mar 2012 Join Date
    EnglandLocation
    2,137Posts

    Re: Mass Edit SQL DB Item removal from all inventory.

    :x Dark what LolOmgNoob just sent you is what the Query is. If you ever have doubt about it just make a back up before you execute anything.

  8. #8
    Account Upgraded | Title Enabled! LolOmgNoob is offline
    MemberRank
    Nov 2012 Join Date
    241Posts

    Re: Mass Edit SQL DB Item removal from all inventory.

    I'm a noob.

  9. #9

    Re: Mass Edit SQL DB Item removal from all inventory.

    I do need it and it did now work D= but i will try again =D not only that i am deleting a LOT of items :) not just one at a time

    - - - Updated - - -

    It looks like it worked. Meanwhile i got one last question. My launcher has a maintenance would you know where i need to go possibly in the SQL in order to turn it on?

  10. #10
    Account Upgraded | Title Enabled! darielgames312 is offline
    MemberRank
    Oct 2012 Join Date
    247Posts

    Re: Mass Edit SQL DB Item removal from all inventory.

    I'm just taking a wild guess on changing the querry to work for you but:
    DELETE FROM w00_Character.dbo.tItem WHERE nItemID >= '0'

  11. #11
    Account Upgraded | Title Enabled! LolOmgNoob is offline
    MemberRank
    Nov 2012 Join Date
    241Posts

    Re: Mass Edit SQL DB Item removal from all inventory.

    Quote Originally Posted by darielgames312 View Post
    I'm just taking a wild guess on changing the querry to work for you but:
    DELETE FROM w00_Character.dbo.tItem WHERE nItemID >= '0'
    What's different in this one besides the >= '0'?

  12. #12
    -.- NextIdea is offline
    MemberRank
    Nov 2012 Join Date
    343Posts

    Re: Mass Edit SQL DB Item removal from all inventory.

    Someone wants to ruin the DB.

    The ">= 0" means, delete every item which item ID is greater and equal than 0.

    As for the query, remove the single quotes, as they aren't needed.

  13. #13
    Account Upgraded | Title Enabled! LolOmgNoob is offline
    MemberRank
    Nov 2012 Join Date
    241Posts

    Re: Mass Edit SQL DB Item removal from all inventory.

    Lul damn, knew it had something to do with that given the >.

    And yeah, I know, it's just a bad habit of doing them like that. ;c

  14. #14
    Account Upgraded | Title Enabled! darielgames312 is offline
    MemberRank
    Oct 2012 Join Date
    247Posts

    Re: Mass Edit SQL DB Item removal from all inventory.

    Isn't that what you wanted?

  15. #15

    Re: Mass Edit SQL DB Item removal from all inventory.

    Its ok i got it. For the multiple items i just copied the rows and on each i just put the ID i needed removed. Executed all one time and they all went poof :)



Advertisement