Register for your free account! | Forgot your password?

You last visited: Today at 07:27

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Probleme mit Query

Discussion on Probleme mit Query within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
Sogma's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 670
Received Thanks: 137
Probleme mit Query

Hi,

ich bin nicht der große SQL Experte und hoffe daher mal auf eure Unterstützung.
Code:
INSERT INTO `item_proto` VALUES ('94000', 'Eisklinge+0', 'Eisklinge+0', '1', '0', '0', '2', '312', '1', '16', '30000', '24000', '94001', '7006', '0', '5', '1', '200', '0', '0', '7', '15', '17', '15', '5', '5', '0', '90', '147', '200', '220', '115', '-1', '-1', '-1', '-1', '-1', '-1', '0', '3', '0');
INSERT INTO `item_proto` VALUES ('94001', 'Eisklinge+1', 'Eisklinge+1', '1', '0', '0', '2', '312', '1', '16', '30000', '24000', '94002', '7006', '0', '5', '1', '200', '0', '0', '7', '15', '17', '16', '5', '10', '0',	'90',	'147', '200',	'220', '126',	'-1',	'-1',	'-1',	'-1',	'-1',	'-1',	'0', '3', '0');
INSERT INTO `item_proto` VALUES ('94002', 'Eisklinge+2', 'Eisklinge+2', '1', '0', '0', '2', '312', '1', '16', '30000', '24000', '94003', '7006', '0', '5', '1', '200', '0', '0', '7', '16', '17', '17', '5', '12', '0',	'90',	'147', '200',	'220', '138',	'-1',	'-1',	'-1',	'-1',	'-1',	'-1',	'0', '3', '0');
INSERT INTO `item_proto` VALUES ('94003', 'Eisklinge+3', 'Eisklinge+3', '1', '0', '0', '2', '312', '1', '16', '30000', '24000', '94004', '7005', '0', '5', '1', '200', '0', '0', '7', '17', '17', '18', '5', '15', '0',	'90',	'147', '200',	'220', '151',	'-1',	'-1',	'-1',	'-1',	'-1',	'-1',	'0', '3', '0');
INSERT INTO `item_proto` VALUES ('94004', 'Eisklinge+4', 'Eisklinge+4', '1', '0', '0', '2', '312', '1', '16', '30000', '24000', '94005', '7005', '0', '5', '1', '200', '0', '0', '7', '18', '17', '19', '5', '17', '0',	'90',	'147', '200',	'220', '165',	'-1',	'-1',	'-1',	'-1',	'-1',	'-1',	'40', '3', '0');
INSERT INTO `item_proto` VALUES ('94005', 'Eisklinge+5', 'Eisklinge+5', '1', '0', '0', '2', '312', '1', '16', '30000', '24000', '94006', '7005', '0', '5', '1', '200', '0', '0', '7', '20', '17', '20', '5', '20', '0',	'90',	'147', '200',	'220', '180',	'-1',	'-1',	'-1',	'-1',	'-1',	'-1',	'40', '3', '0');
INSERT INTO `item_proto` VALUES ('94006', 'Eisklinge+6', 'Eisklinge+6', '1', '0', '0', '2', '312', '1', '16', '30000', '24000', '94007', '7005', '0', '5', '1', '200', '0', '0', '7', '22', '17', '22', '5', '22', '0',	'90',	'147', '200',	'220', '199',	'-1',	'-1',	'-1',	'-1',	'-1',	'-1',	'50', '3', '0');
INSERT INTO `item_proto` VALUES ('94007', 'Eisklinge+7', 'Eisklinge+7', '1', '0', '0', '2', '312', '1', '16', '30000', '24000', '94008', '7005', '0', '5', '1', '200', '0', '0', '7', '24', '17', '25', '5', '25', '0',	'90',	'147', '200',	'220', '213',	'-1',	'-1',	'-1',	'-1',	'-1',	'-1',	'60', '3', '0');
INSERT INTO `item_proto` VALUES ('94008', 'Eisklinge+8', 'Eisklinge+8', '1', '0', '0', '2', '312', '1', '16', '30000', '24000', '94009', '7005', '0', '5', '1', '200', '0', '0', '7', '27', '17', '27', '5', '27', '0',	'90',	'147', '200',	'220', '231',	'-1',	'-1',	'-1',	'-1',	'-1',	'-1',	'80', '3', '0');
INSERT INTO `item_proto` VALUES ('94009', 'Eisklinge+9', 'Eisklinge+9', '1', '0', '0', '2', '312', '1', '16', '30000', '24000', '0', '0', '0',	'5', '1', '200', '0',	'0', '7', '30', '17',	'30',	'5', '30', '0', '90',	'147', '200',	'220', '281',	'-1',	'-1',	'-1',	'-1',	'-1',	'-1',	'100', '3', '0');
Diese Query verursacht folgenden Fehler:

Code:
[SQL] INSERT INTO `item_proto` VALUES ('94000', 'Eisklinge+0', 'Eisklinge+0', '1', '0', '0', '2', '312', '1', '16', '30000', '24000', '94001', '7006', '0', '5', '1', '200', '0', '0', '7', '15', '17', '15', '5', '5', '0', '90', '147', '200', '220', '115', '-1', '-1', '-1', '-1', '-1', '-1', '0', '3', '0');
[Err] 1136 - Column count doesn't match value count at row 1
Ich bitte um Hilfe
Sogma is offline  
Old 09/06/2014, 16:00   #2
 
elite*gold: 107
Join Date: Aug 2014
Posts: 205
Received Thanks: 87
Kontrollier mal wieviele attribute deine Tabelle hat und vergleich dann mit der nzahl von attributen die du eintragen willst. dir wird bestimmt was auffallen
#M.ys is offline  
Old 09/06/2014, 16:02   #3
 
Sogma's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 670
Received Thanks: 137
Okay, danke dir schonmal

Edit, passt alles, habe Attributanzahl und die Query verglichen, das passt
Sogma is offline  
Old 09/08/2014, 19:09   #4
 
Sogma's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 670
Received Thanks: 137
#PUSH Das Problem besteht weiterhin!
Sogma is offline  
Reply


Similar Threads Similar Threads
[Sammelthread]Ep2 Linux Probleme/Hilfe/Antworten-Server Probleme
06/21/2013 - Last Chaos Private Server - 11 Replies
In den Letzten Tagen hab ich öfter mal immer neue Threads gesehen, wo es um Linux geht oder um Server Probleme... Da dachte ich mir wieso kein Sammelthread?! Wenn es unnütz ist kann er gerne wieder geschlossen werden :) Aber denke mal, was wäre eine Art um nicht so viele Threads zu öffnen und wo man schnell andere antwortet nach gucken könnte.(ps.ich meins nur gut:) ) Mfg.Mango?! Thread zu den Ep2 Files
Probleme mit dem Internet(Laggs, Ping und Latenz probleme)
10/09/2012 - Technical Support - 4 Replies
Hallo, ich hofff ich bin hier richtig. Mein Problem ist, dass ich Probleme mit der Internetverbindung habe. Angefangen hat es bei Diablo 3 mit Latenzproblemen, wo ich dann nach paar Minuten bei ner Latenz von mehreren 1000 ms rausgeschmissen wurde. Danach hat es bei Gohst Recon Online funkioniert lagg frei und dann aber auch mit Laggs. Und jetzt bei LOL ist, muss alle paar 10 sek die Verbindung wiederhergestellt werden. Anfangs bei LOL hab ich den besten Ping und es scheint die...
Probleme in Query
07/27/2012 - Metin2 Private Server - 2 Replies
Hey Com, Ich wollte bei meinem Server einen Shop mit Uppitems einbauen. Um nicht alle Uppitems manuell in die Db zu hämmern, habe ich mir eine Query gemacht. Jedoch bekomme ich wenn ich die Query ausführen will die Fehlermeldung 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INSERT INTO `shop_item` (`shop_vnum`, `item_vnum`, `count`) VALUES ('17', '30008' at line 2 Was ist an meiner Query...
[Suche]Query für "Alteklinge, Reichsklinge" &' Stichdolche NUR QUERY!
08/18/2010 - Metin2 Private Server - 1 Replies
Ich weiß ich werd nervig aber ich suche die Query's für Alteklinge, Reichsklinge &' Strichdolche Why? Naya, weil ich in der DB i-wie nur Drachenmaulglocke hab ... not more -.- Auf jeden Fall Icon's etc. etc. etc. hab ich ich brauche nur die Query's



All times are GMT +1. The time now is 07:30.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.