Jump to content
  • 0

Can someone fix this SQL please???


Question

Posted

Can someone fix this sql please. so it is compatible with Archid.IL

SQL

INSERT INTO `custom_npc` VALUES (69998, 31081, "Mysterious Exchanger", 1, "*SA Shop*", 1, "NPC.a_traderA_FHuman", 8, "30,5", 80, "male", "L2Merchant", 40, 9999, 999, 15, 0, 40, 43, 30, 21, 35, 10, 0, 0, 1314, 1000, 780, 1000, 278, 0, 253, 0, 0, 0, 80, 120, "NULL", NULL, 0, 0);

 

 

 

 

ERROR

 

 

[Err] 1136 - Column count doesn't match value count at row 1
[Err] INSERT INTO `custom_npc` VALUES (69998, 31081, "Mysterious Exchanger", 1, "*SA Shop*", 1, "NPC.a_traderA_FHuman", 8, "30,5", 80, "male", "L2Merchant", 40, 9999, 999, 15, 0, 40, 43, 30, 21, 35, 10, 0, 0, 1314, 1000, 780, 1000, 278, 0, 253, 0, 0, 0, 80, 120, "NULL", NULL, 0, 0);
[Msg] Finished - Unsuccessfully
--------------------------------------------------

14 answers to this question

Recommended Posts

  • 0
Posted


INSERT INTO `custom_npc` VALUES (69998, 31081, "Mysterious Exchanger", 1, "*SA Shop*", 1, "NPC.a_traderA_FHuman", 8, "30,5", 80, "male", "L2Merchant", 40, 9999, 999, 15, 0, 40, 43, 30, 21, 35, 10, 0, 0, 1314, 1000, 780, 1000, 278, 0, 253, 0, 0, 0, 80, 120, "NULL", NULL, 0, 0, 0, "LAST_HIT");


try this :)

  • 0
Posted

again error :(

[Err] 1136 - Column count doesn't match value count at row 1
[Err] INSERT INTO `custom_npc` VALUES (69998, 31081, "Mysterious Exchanger", 1, "*SA Shop*", 1, "NPC.a_traderA_FHuman", 8, "30,5", 80, "male", "L2Merchant", 40, 9999, 999, 15, 0, 40, 43, 30, 21, 35, 10, 0, 0, 1314, 1000, 780, 1000, 278, 0, 253, 0, 0, 0, 80, 120, "NULL", NULL, 0, 0, 0, "LAST_HIT");
[Msg] Finished - Unsuccessfully
--------------------------------------------------

  • 0
Posted


INSERT INTO `custom_npc` VALUES (69998, 31081, "Mysterious Exchanger", 1, "*SA Shop*", 1, "NPC.a_traderA_FHuman", 8, "30,5", 80, "male", "L2Merchant", 40, 9999, 999, 15, 0, 40, 43, 30, 21, 35, 10, 0, 0, 1314, 1000, 780, 1000, 278, 0, 253, 0, 0, 0, 80, 120, "NULL", NULL, 0, 0, "LAST_HIT");


now it'll working ... ( i added too many 0 :D )

  • 0
Posted

Error again :S

 

 

[Err] 1366 - Incorrect decimal value: '30,5' for column 'collision_height' at row 1

[Err] INSERT INTO `custom_npc` VALUES (69998, 31081, "Mysterious Exchanger", 1, "*SA Shop*", 1, "NPC.a_traderA_FHuman", 8, "30,5", 80, "male", "L2Merchant", 40, 9999, 999, 15, 0, 40, 43, 30, 21, 35, 10, 0, 0, 1314, 1000, 780, 1000, 278, 0, 253, 0, 0, 0, 80, 120, "NULL", NULL, 0, 0, "LAST_HIT");

[Msg] Finished - Unsuccessfully

--------------------------------------------------

  • 0
Posted


INSERT INTO `custom_npc` VALUES (69998, 31081, "Mysterious Exchanger", 1, "*SA Shop*", 1, "NPC.a_traderA_FHuman", 8, 31, 80, "male", "L2Merchant", 40, 9999, 999, 15, 0, 40, 43, 30, 21, 35, 10, 0, 0, 1314, 1000, 780, 1000, 278, 0, 253, 0, 0, 0, 80, 120, "NULL", NULL, 0, 0, "LAST_HIT");


 

now it's has to be perfect

  • 0
Posted


INSERT INTO `custom_npc` VALUES (69998, 31081, "Mysterious Exchanger", 1, "*SA Shop*", 1, "NPC.a_traderA_FHuman", 8, 31, 80, "male", "L2Merchant", 40, 9999, 999, 15, 0, 40, 43, 30, 21, 35, 10, 0, 0, 1314, 1000, 780, 1000, 278, 0, 253, 0, 0, 0, 80, 120, "NULL", NULL, 0, 0, "LAST_HIT");


 

now it's has to be perfect

YEAH BRoo You did it!!!Thanks A lot Man!!!I own you!!!
Guest
This topic is now closed to further replies.


×
×
  • Create New...