Need help with a query menu

Shout-Out

User Tag List

Results 1 to 6 of 6
  1. #1
    TheZaronz's Avatar Active Member
    Reputation
    97
    Join Date
    Dec 2007
    Posts
    567
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need help with a query

    Okey, so I tried to make a query to set 'mindamage' 1 where 'mindamage' 120 and 'maxlevel' = 10

    Code:
    UPDATE creature_proto
    SET mindamage='1 '
    WHERE mindamage = '120' and maxlevel = '10';
    Obviously I failed anyone know how to fix? +Rep if you can!

    Need help with a query
  2. #2
    Bunster's Avatar Active Member
    Reputation
    19
    Join Date
    May 2008
    Posts
    553
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Dam dam dam free Rep going and i dnt have a clue xD
    Last edited by Bunster; 06-29-2009 at 06:01 PM. Reason: I likes orange xD

  3. #3
    Reflection's Avatar Legendary
    Reputation
    783
    Join Date
    Mar 2008
    Posts
    3,377
    Thanks G/R
    1/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    UPDATE `creature_proto` SET mindamage='1' WHERE mindamage='120' AND maxlevel = '10';
    Try that, otherwise it's

    Code:
    UPDATE TABLE `creature_proto` SET mindamage='1' WHERE mindamage='120' AND maxlevel = '10';
    Good luck.

    Freelance Digital Artist
    https://reflectionartwork.deviantart.com
    You did not desert me
    My brothers in arms


  4. #4
    TheZaronz's Avatar Active Member
    Reputation
    97
    Join Date
    Dec 2007
    Posts
    567
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for fast reply, anyways update is it possible to do it to be like < 10 as anything from 10 and lower?

  5. #5
    Reflection's Avatar Legendary
    Reputation
    783
    Join Date
    Mar 2008
    Posts
    3,377
    Thanks G/R
    1/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    UPDATE `creature_proto` SET mindamage='1' WHERE mindamage='120' AND maxlevel < '10';
    Should do it.

    Freelance Digital Artist
    https://reflectionartwork.deviantart.com
    You did not desert me
    My brothers in arms


  6. #6
    TheZaronz's Avatar Active Member
    Reputation
    97
    Join Date
    Dec 2007
    Posts
    567
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ahh, thanks! +Rep
    Edit: Just gotta spread, will +Rep after I have

Similar Threads

  1. [SQL] Need help with npc_trainer sql query
    By bergis1337 in forum WoW EMU Questions & Requests
    Replies: 4
    Last Post: 03-08-2011, 05:33 PM
  2. Need help with one Query
    By Boiko7530bg in forum WoW EMU Questions & Requests
    Replies: 1
    Last Post: 07-16-2009, 10:41 AM
  3. Need Help With Navicat Query
    By imjustbackup in forum World of Warcraft Emulator Servers
    Replies: 6
    Last Post: 04-01-2009, 03:27 PM
  4. Need Help With two SQL Queries
    By BoP in forum Programming
    Replies: 3
    Last Post: 06-12-2008, 09:15 PM
  5. need help with shammy talents
    By jason in forum World of Warcraft General
    Replies: 5
    Last Post: 07-19-2006, 02:02 AM
All times are GMT -5. The time now is 08:21 AM. 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