How can I delete all card to all user

Results 1 to 6 of 6
  1. #1
    Apprentice Kamikaze1 is offline
    MemberRank
    Mar 2011 Join Date
    22Posts

    How can I delete all card to all user

    I want to delete all the card in all user

    how can I do ?


    Can I do it ?

    please help me


  2. #2
    Deny everything. Tsukasa is offline
    MemberRank
    Jun 2005 Join Date
    Net SlumLocation
    558Posts

    Re: How can I delete all card to all user

    To get rid of all cards, you can run this query:
    Code:
    USE Pangya_S4_TH
    GO
    
    -- Removes cards from all users' cardbooks
    TRUNCATE TABLE TD_CARD_USRS
    
    -- Get rid of joined cards
    TRUNCATE TABLE TD_Card_Join2
    
    -- More cleaning up
    TRUNCATE TABLE TD_Card_Spcl
    
    GO
    Your users shouldn't have any cards left on their equipment or in their cardbook afterwards.

  3. #3
    Apprentice Kamikaze1 is offline
    MemberRank
    Mar 2011 Join Date
    22Posts

    Re: How can I delete all card to all user

    what is about
    -- More cleaning up
    TRUNCATE TABLE TD_Card_Spc

    If I want delete card to all user card book I just use this ?
    -- Removes cards from all users' cardbooks
    TRUNCATE TABLE TD_CARD_USRS

    Thank you for your help

  4. #4
    Error 403 - Forbidden hvdaedalus is offline
    MemberRank
    Oct 2007 Join Date
    218Posts

    Re: How can I delete all card to all user

    Quote Originally Posted by Tsukasa View Post
    Your users shouldn't have any cards left on their equipment or in their cardbook afterwards.
    Why don't you just read, what he wrote? He already wrote in detail, what those functions do (at least for us developers it is a very detailed answer)

  5. #5
    Deny everything. Tsukasa is offline
    MemberRank
    Jun 2005 Join Date
    Net SlumLocation
    558Posts

    Re: How can I delete all card to all user

    Quote Originally Posted by Kamikaze1 View Post
    what is about
    -- More cleaning up
    TRUNCATE TABLE TD_Card_Spc

    If I want delete card to all user card book I just use this ?
    -- Removes cards from all users' cardbooks
    TRUNCATE TABLE TD_CARD_USRS

    Thank you for your help
    I won't comment on the second part of the question, I think it's pretty clear and there's no need for explanations.

    If you want to know what the mysterious third query does, please take a look at the table and find out for yourself. Look at the IDs of the cards in there and cross-reference these IDs to the card-names and the special effect these cards provide. There's a common factor to all those cards you'll find in there... If you think that's too much hassle - no worries, the rows in there are volatile anyway.
    Last edited by Tsukasa; 17-04-11 at 10:00 PM.

  6. #6
    Apprentice Kamikaze1 is offline
    MemberRank
    Mar 2011 Join Date
    22Posts

    Re: How can I delete all card to all user

    I'm sorry I'm bad English.

    but thank you for answer.



Advertisement