¿SQL Query to Delete all accounts / characters?

Results 1 to 6 of 6
  1. #1
    Apprentice mfurius2006 is offline
    MemberRank
    Feb 2013 Join Date
    18Posts

    ¿SQL Query to Delete all accounts / characters?

    Hello, I want to delete all my accounts and PJs, since I have over 1500 accounts, and delete them one by one I think it would very stupid (?) If anyone can provide me with a query to delete all appreciate it


    thanks


  2. #2
    Member zyghybr is offline
    MemberRank
    Aug 2012 Join Date
    55Posts

    Re: ¿SQL Query to Delete all accounts / characters?

    You dont need a query, you can enter on DB> MuOnline>Table > Character,DB> MuOnline>Table > Account, DB> MuOnline>Table > MEMB_INFO , open table select all cells and delete

  3. #3

    Re: ¿SQL Query to Delete all accounts / characters?

    Wouldn't be easier to restore an empty database? You need to delete data from all the tables. Yet, you can use:

    Code:
    DELETE FROM <table_name>

  4. #4
    Member zyghybr is offline
    MemberRank
    Aug 2012 Join Date
    55Posts

    Re: ¿SQL Query to Delete all accounts / characters?

    If he delete table ,all data in "design table" will be lost...you can emply a tabel no delete it..

  5. #5

    Re: ¿SQL Query to Delete all accounts / characters?

    It deletes the rows/tuples, not the relation schema.

  6. #6
    Apprentice mfurius2006 is offline
    MemberRank
    Feb 2013 Join Date
    18Posts

    Re: ¿SQL Query to Delete all accounts / characters?

    Hi, thanks for the comments.


    What I want is to use the same database without restoring again, but delete the all accounts and PJs, it is possible?



Advertisement