millers Posted January 1, 2010 Report Share Posted January 1, 2010 Var kads izplaidzet kur sini skripta ir kluda ? met ara sadu erroru .. #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 ' 28, 120, '', 0, 0, 0, 'LAST_HIT', 0, 0, 0, 'balanced', 'false')' at line 1 INSERT INTO `npc` VALUES (57, 13143, 'Blur', 1, 'Global Shop', 1, 'LineageNPC2.K_F1_grand', 9.00, 32.00, 85, 'male', 'L2Merchant', 40, 2444, 2444, 0.00, 0.00, 10, 10, 10, 10, 10, 10, 0, 0, 500, 500, 500, 500, 278, 0, 333, 0, 0, , 28, 120, '', 0, 0, 0, 'LAST_HIT', 0, 0, 0, 'balanced', 'false'); Quote Link to comment Share on other sites More sharing options...
zarins Posted January 1, 2010 Report Share Posted January 1, 2010 INSERT INTO `npc` VALUES (57, 13143, 'Blur', 1, 'Global Shop', 1, 'LineageNPC2.K_F1_grand', 9.00, 32.00, 85, 'male', 'L2Merchant', 40, 2444, 2444, 0.00, 0.00, 10, 10, 10, 10, 10, 10, 0, 0, 500, 500, 500, 500, 278, 0, 333, 0, 0, DIVI_KOMATI , 28, 120, '', 0, 0, 0, 'LAST_HIT', 0, 0, 0, 'balanced', 'false'); Divi komati pirms skaitļa 28. Quote Link to comment Share on other sites More sharing options...
Kemito Posted January 1, 2010 Report Share Posted January 1, 2010 Problēma jāmeklē ir iekš SQL Datubāzi nevis iekš kverija! Problēmas risinājums -> To mainīgo pie kura apstājas 'near' nomaini uz citu nosaukumu! Vismaz šādi es savu kļūdu izlaboju! Quote Link to comment Share on other sites More sharing options...
rATRIJS Posted January 2, 2010 Report Share Posted January 2, 2010 (edited) INSERT INTO `npc` VALUES (57, 13143, 'Blur', 1, 'Global Shop', 1, 'LineageNPC2.K_F1_grand', 9.00, 32.00, 85, 'male', 'L2Merchant', 40, 2444, 2444, 0.00, 0.00, 10, 10, 10, 10, 10, 10, 0, 0, 500, 500, 500, 500, 278, 0, 333, 0, 0, , 28, 120, '', 0, 0, 0, 'LAST_HIT', 0, 0, 0, 'balanced', 'false'); Iezīmēju rajonu un apakšsvītroju un iesarkanoju vietu...nākamreiz skaties kārtīgi - KĀRTĪGI! EDIT: Nevarēju atturēties. Kemito. WTF??? You have an error in your SQL syntax jau, manuprāt, pasaka priekšā, kur jāmeklē kļūda. Protams, var tikt izmantots, kāds aizsistais atslēgas vārds, bet vairumā gadījumu kļūda būs iekš kvērija. Edited January 2, 2010 by rATRIJS Quote Link to comment Share on other sites More sharing options...
Kemito Posted January 2, 2010 Report Share Posted January 2, 2010 rATRIJS: Es saskāros ar šādu pašu kļūdu, tapēc īpaši dziļi neierakos pašā viņa kverijā! Manas kļūdas atrisinājums bija kolonnas nosakumu datubāzē!!! Quote Link to comment Share on other sites More sharing options...
briedis Posted January 2, 2010 Report Share Posted January 2, 2010 rATRIJS: Es saskāros ar šādu pašu kļūdu, tapēc īpaši dziļi neierakos pašā viņa kverijā! Manas kļūdas atrisinājums bija kolonnas nosakumu datubāzē!!! Manuprāt, parasti raksta kvēriju priekš attiecīgās tabulas, nevis tabulu piekārto kaut kādam kvērijam :D Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.