[Help] SQL Query menu

User Tag List

Results 1 to 5 of 5
  1. #1
    Sabens's Avatar Contributor
    Reputation
    151
    Join Date
    Oct 2006
    Posts
    266
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Help] SQL Query

    Hey guys. Just need some help with this sql query. When I try to execute it, I get a syntax error.

    Here is the query:
    Code:
    INSERT INTO creature_names (entry, name, subname, info_str, Flags1, type, family, rank, male_displayid, female_displayid, male_displayid2, female_displayid2, civilian, leader) VALUES ('999990','Scarlet Guardsman','','','0','7','0','1','10512','0','0','0','0','0')
    
    INSERT INTO creature_proto (entry, minlevel, maxlevel, faction, minhealth, maxhealth, mana, scale, npcflags, attacktime, mindamage, maxdamage, rangedattacktime, rangedmindamage, rangedmaxdamage, mountdisplayid, equipmodel1, equipmodel2, equipmodel3, respawntime, armor, resistance1, resistance2, resistance3, resistance4, resistance5, resistance6, combat_reach, auras, boss, money, invisibility_type, death_state, walk_speed, run_speed, fly_speed) VALUES ('999990','71','72','21','36660','36670','0','0','3100','614','858','0','0','0','0','41929','47250','0','500000','7000','1','1','1','1','1','1','1','0','0','92500','0','0','2.5','8','14')
    Any help is greatly appreciated.


    "They must find it difficult. . . Those who have taken authority as the truth, rather then truth as the authority." -Gerald Massey

    [Help] SQL Query
  2. #2
    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:
    INSERT INTO creature_names (entry, name, subname, info_str, Flags1, type, family, rank, male_displayid, female_displayid, male_displayid2, female_displayid2, civilian, leader) VALUES ('999990','Scarlet Guardsman','','','0','7','0','1','10512','0','0','0','0','0');
    
    INSERT INTO creature_proto (entry, minlevel, maxlevel, faction, minhealth, maxhealth, mana, scale, npcflags, attacktime, mindamage, maxdamage, rangedattacktime, rangedmindamage, rangedmaxdamage, mountdisplayid, equipmodel1, equipmodel2, equipmodel3, respawntime, armor, resistance1, resistance2, resistance3, resistance4, resistance5, resistance6, combat_reach, auras, boss, money, invisibility_type, death_state, walk_speed, run_speed, fly_speed) VALUES ('999990','71','72','21','36660','36670','0','0','3100','614','858','0','0','0','0','41929','47250','0','500000','7000','1','1','1','1','1','1','1','0','0','92500','0','0','2.5','8','14');
    Should work.

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


  3. #3
    Sabens's Avatar Contributor
    Reputation
    151
    Join Date
    Oct 2006
    Posts
    266
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hmm, still getting an error saying:

    "[Err] 1136 - Column count doesn't match value count at row 1"


    "They must find it difficult. . . Those who have taken authority as the truth, rather then truth as the authority." -Gerald Massey

  4. #4
    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)
    Your database is either out of date or too new for the query, you should update your database.

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


  5. #5
    Sabens's Avatar Contributor
    Reputation
    151
    Join Date
    Oct 2006
    Posts
    266
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Alright, thanks for the help.


    "They must find it difficult. . . Those who have taken authority as the truth, rather then truth as the authority." -Gerald Massey

Similar Threads

  1. Sql query help?
    By kreegoth in forum WoW EMU Questions & Requests
    Replies: 5
    Last Post: 01-16-2009, 09:38 AM
  2. Need Help With two SQL Queries
    By BoP in forum Programming
    Replies: 3
    Last Post: 06-12-2008, 09:15 PM
  3. *HELP* Sql query due to
    By thegame240 in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 05-27-2008, 05:09 PM
  4. {Help}Sql Query For uping numbers
    By Corosive720 in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 05-26-2008, 05:02 AM
  5. ascent-logonserver.exe sql query error ... plz help
    By BillyBob31 in forum World of Warcraft Emulator Servers
    Replies: 10
    Last Post: 03-10-2008, 12:05 PM
All times are GMT -5. The time now is 12:42 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search