Navicat Query menu

User Tag List

Results 1 to 4 of 4
  1. #1
    Supah's Avatar Member
    Reputation
    33
    Join Date
    Apr 2008
    Posts
    235
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Navicat Query

    What would a query look like to set a whole column in a table to zero?

    Navicat Query
  2. #2
    covert_cat's Avatar Member
    Reputation
    55
    Join Date
    Sep 2009
    Posts
    96
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't know why you would need to do this.. but the SQL query would be something like:

    example:
    Code:
    UPDATE `creature_names`
    SET name='Waffle Eater'
    WHERE name='Flesh Eater';
    This changes the npc with the name "Flesh Eater" to the name "Waffle Eater"
    Code:
    UPDATE table_name
    SET column1=value
    Explanation: Replace table_name with your table's name(eg items) Replace column1 with the name of the column(eg existingduration) and replace value with your chosen value(eg 0)
    This would remove item durations.
    But be EXTREMELY CAREFUL. YOU COULD WRECK YOUR ENTIRE TABLE. DON'T BLAME ME

  3. #3
    marcelo_20xx's Avatar Active Member
    Reputation
    25
    Join Date
    Sep 2008
    Posts
    165
    Thanks G/R
    2/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    UPDATE 'nameofthetable' SET 'nameofthecolumn' = 0;

  4. #4
    covert_cat's Avatar Member
    Reputation
    55
    Join Date
    Sep 2009
    Posts
    96
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by marcelo_20xx View Post
    Code:
    UPDATE 'nameofthetable' SET 'nameofthecolumn' = 0;
    Pretty much what I just said..

Similar Threads

  1. Need Help With Navicat Query
    By imjustbackup in forum World of Warcraft Emulator Servers
    Replies: 6
    Last Post: 04-01-2009, 03:27 PM
  2. Make a GM account using Navicat.
    By Daxo in forum WoW EMU Guides & Tutorials
    Replies: 27
    Last Post: 11-01-2007, 09:41 PM
  3. How do i have a blood elf druid or something like that using navicat?
    By jtmurkz in forum World of Warcraft Emulator Servers
    Replies: 7
    Last Post: 09-26-2007, 01:05 AM
  4. need a query
    By Tankotron in forum World of Warcraft Emulator Servers
    Replies: 0
    Last Post: 09-09-2007, 10:28 AM
  5. Elite group query
    By Shanaar in forum Community Chat
    Replies: 0
    Last Post: 07-12-2006, 03:02 PM
All times are GMT -5. The time now is 08:01 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