[Release] Usefull Database Queries [Part 2] menu

User Tag List

Page 2 of 2 FirstFirst 12
Results 16 to 24 of 24
  1. #16
    latruwski's Avatar Banned
    Reputation
    647
    Join Date
    Dec 2006
    Posts
    2,456
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by TheBetrayer View Post
    Well if you want everything on your server free, then do this:
    Code:
    UPDATE `items` SET buyprice = 0 WHERE `entry` BETWEEN '1' and '99999999';
    Code:
    UPDATE `items` SET buyprice = 0;
    looks better and works also :P

    [Release] Usefull Database Queries [Part 2]
  2. #17
    Lich King's Avatar Contributor
    Reputation
    100
    Join Date
    May 2007
    Posts
    911
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Latruwski, could you make one that deletes from creature_spawns, lowest id is 226410 and highest id is 226501

  3. #18
    waymirec's Avatar Member
    Reputation
    49
    Join Date
    Jan 2008
    Posts
    155
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    DELETE FROM `creature_spawns` WHERE `id` BETWEEN 226410 and 226501

  4. #19
    Lich King's Avatar Contributor
    Reputation
    100
    Join Date
    May 2007
    Posts
    911
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I tried that, it didn't work

  5. #20
    latruwski's Avatar Banned
    Reputation
    647
    Join Date
    Dec 2006
    Posts
    2,456
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by TheBetrayer View Post
    I tried that, it didn't work
    Code:
    delete from creature_spawns where id between 226410 and 226501;
    should work perfectly....

    if not try this:

    Code:
    delete from creature_spawns where id in(226410,226411,226412,226413);
    replace the numbers colored with the numbers from 226410 to 226501 (yes lot of work but it should work...) seperate all numbers with a cumma... like in the example...

    grtz

  6. #21
    Lich King's Avatar Contributor
    Reputation
    100
    Join Date
    May 2007
    Posts
    911
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nvm, I got it to work

  7. #22
    Power of Illuminati's Avatar Contributor
    Reputation
    179
    Join Date
    May 2008
    Posts
    1,410
    Thanks G/R
    6/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    First of, +Rep, this has been very very useful for me. And learning too.

    Second of all. I'm trying to make a query that change the buyprice from every entry in the item_extendedcost. And I got till this, but it just conitnue to change on all items for me.
    Code:
    UPDATE items SET buyprice = '15' WHERE entry IN (SELECT entry FROM items_extendedcost);

  8. #23
    Ballwinkle's Avatar Contributor Authenticator enabled
    Reputation
    124
    Join Date
    Mar 2007
    Posts
    662
    Thanks G/R
    0/12
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    was looking for theese....thanx for reposting this :O +Rep

  9. #24
    latruwski's Avatar Banned
    Reputation
    647
    Join Date
    Dec 2006
    Posts
    2,456
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Ballwinkle View Post
    was looking for theese....thanx for reposting this :O +Rep
    np, i am glad people still use this

Page 2 of 2 FirstFirst 12

Similar Threads

  1. [Release] Usefull Database Queries
    By latruwski in forum World of Warcraft Emulator Servers
    Replies: 28
    Last Post: 03-20-2008, 07:10 AM
  2. [RELEASE]Snailz Databases
    By Snailz in forum World of Warcraft Emulator Servers
    Replies: 30
    Last Post: 01-30-2008, 04:44 PM
  3. [RELEASE] Venice Database Revision 121 [ +Video Included on Upcoming Event's]
    By ~SaiLyn~ in forum World of Warcraft Emulator Servers
    Replies: 21
    Last Post: 01-15-2008, 06:39 PM
  4. [Release] Starting Gear Query Generator (May be Updated)
    By wowcomputer in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 12-25-2007, 11:43 PM
  5. [Release]Blizzlike Database - Fully Functioning
    By ~SaiLyn~ in forum World of Warcraft Emulator Servers
    Replies: 17
    Last Post: 11-12-2007, 09:52 PM
All times are GMT -5. The time now is 04:29 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search