Jump to content
  • 0

Request Sql Script


Bringer

Question


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.04
  • Content Count:  745
  • Reputation:   47
  • Joined:  03/12/14
  • Last Seen:  

Hello i have 4 kinds of Weapon

1100 Sword

1400 Lance

1600 Staff

1700 Bow

is possible to Delete Only The +10 Weapons?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

DELETE FROM `inventory` WHERE `nameid` IN ( 1100,1400,1600 ) AND `refine` = 10;
DELETE FROM `cart_inventory` WHERE `nameid` IN ( 1100,1400,1600 ) AND `refine` = 10;
DELETE FROM `storage` WHERE `nameid` IN ( 1100,1400,1600 ) AND `refine` = 10;
DELETE FROM `guild_storage` WHERE `nameid` IN ( 1100,1400,1600 ) AND `refine` = 10;
DELETE FROM `mail` WHERE `nameid` IN ( 1100,1400,1600 ) AND `refine` = 10;
DELETE FROM `auction` WHERE `nameid` IN ( 1100,1400,1600 ) AND `refine` = 10;

shut down server and execute the query.

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  141
  • Reputation:   45
  • Joined:  08/14/12
  • Last Seen:  

query_sql("DELETE FROM inventory WHERE (nameid = 1100 OR nameid = 1400 OR nameid = 1600 OR nameid = 1700) AND refine = 10;");

query_sql("DELETE FROM cart_inventory WHERE (nameid = 1100 OR nameid = 1400 OR nameid = 1600 OR nameid = 1700) AND refine = 10;");

query_sql("DELETE FROM storage WHERE (nameid = 1100 OR nameid = 1400 OR nameid = 1600 OR nameid = 1700) AND refine = 10;");

query_sql("DELETE FROM guild_storage WHERE (nameid = 1100 OR nameid = 1400 OR nameid = 1600 OR nameid = 1700) AND refine = 10;");

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...