Tópico: Error de sql
Ver um Único Post
Antigo 01-08-2009, 08:41 PM   #1 (permalink)
Garcia
Membro - Capitão
 
Avatar de Garcia
 
Registrado em: Jun 2009
Localização: Cuiaba-MT
Posts: 121
Agradeceu: 268
Agradecido 122 Vezes em 38 Posts
Achei Ruim:
Acharam ruim Vezes em Posts
Nome Real: Emanuel Garcia

Inventório de Garcia

Icon11 Error de sql

aqui esta o error
Spoiler
Código: [Somente Usuários Registrados Podem Visualizar os Links Desta PáginaClique aqui para se Registrar]
[Err] 1062 - Entrada '9513' duplicada para a chave 1
[Err] INSERT INTO armor
   (`item_id`, `name`, `bodypart`, `crystallizable`, `armor_type`, `weight`, `material`, `crystal_type`, `avoid_modify`, `duration`, `p_def`, `m_def`, `mp_bonus`, `price`, `crystal_count`, `sellable`, `dropable`, `destroyable`, `tradeable`, `item_skill_id`, `item_skill_lvl`) 
VALUES
   ('9513', 'Titanium Armor', 'fullarmor', 'true', 'heavy', 570, 'leather', 's', '0', '-1', '370', '0', '0', '0', '2000', 'false', 'true', 'true', 'true', '0', '0');
[Err] 1062 - Entrada '9514' duplicada para a chave 1
[Err] INSERT INTO armor
   (`item_id`, `name`, `bodypart`, `crystallizable`, `armor_type`, `weight`, `material`, `crystal_type`, `avoid_modify`, `duration`, `p_def`, `m_def`, `mp_bonus`, `price`, `crystal_count`, `sellable`, `dropable`, `destroyable`, `tradeable`, `item_skill_id`, `item_skill_lvl`) 
VALUES
   ('9514', 'Titanium Gloves', 'gloves', 'true', 'heavy', 580, 'leather', 's', '0', '-1', '55', '0', '0', '0', '800', 'false', 'true', 'true', 'true', '0', '0');
[Err] 1062 - Entrada '9515' duplicada para a chave 1
[Err] INSERT INTO armor
   (`item_id`, `name`, `bodypart`, `crystallizable`, `armor_type`, `weight`, `material`, `crystal_type`, `avoid_modify`, `duration`, `p_def`, `m_def`, `mp_bonus`, `price`, `crystal_count`, `sellable`, `dropable`, `destroyable`, `tradeable`, `item_skill_id`, `item_skill_lvl`) 
VALUES
   ('9515', 'Titanium Boots', 'feet', 'true', 'heavy', 1130, 'leather', 's', '0', '-1', '55', '0', '0', '0', '800', 'false', 'true', 'true', 'true', '0', '0');
[Err] 
[Err] INSERT INTO armor
   (`item_id`, `name`, `bodypart`, `crystallizable`, `armor_type`, `weight`, `material`, `crystal_type`, `avoid_modify`, `duration`, `p_def`, `m_def`, `mp_bonus`, `price`, `crystal_count`, `sellable`, `dropable`, `destroyable`, `tradeable`, `item_skill_id`, `item_skill_lvl`) 
VALUES
   ('9516', 'Titanium Helmet', 'head', 'true', 'heavy', 570, 'leather', 's', '0', '-1', '83', '0', '0', '0', '1100', 'false', 'true', 'true', 'true', '', '0', '0');
[Err] 1062 - Entrada '9517' duplicada para a chave 1
[Err] INSERT INTO armor
   (`item_id`, `name`, `bodypart`, `crystallizable`, `armor_type`, `weight`, `material`, `crystal_type`, `avoid_modify`, `duration`, `p_def`, `m_def`, `mp_bonus`, `price`, `crystal_count`, `sellable`, `dropable`, `destroyable`, `tradeable`, `item_skill_id`, `item_skill_lvl`) 
VALUES
   ('9517', 'Titanium Armor', 'fullarmor', 'true', 'light', 570, 'leather', 's', '0', '-1', '180', '0', '0', '0', '2000', 'false', 'true', 'true', 'true', '0', '0');
[Err] 1062 - Entrada '9518' duplicada para a chave 1
[Err] INSERT INTO armor
   (`item_id`, `name`, `bodypart`, `crystallizable`, `armor_type`, `weight`, `material`, `crystal_type`, `avoid_modify`, `duration`, `p_def`, `m_def`, `mp_bonus`, `price`, `crystal_count`, `sellable`, `dropable`, `destroyable`, `tradeable`, `item_skill_id`, `item_skill_lvl`)
VALUES
   ('9518', 'Titanium Gloves', 'gloves', 'true', 'light', 580, 'leather', 's', '0', '-1', '55', '0', '0', '0', '800', 'false', 'true', 'true', 'true', '0', '0');
[Err] 1062 - Entrada '9519' duplicada para a chave 1
[Err] INSERT INTO armor
   (`item_id`, `name`, `bodypart`, `crystallizable`, `armor_type`, `weight`, `material`, `crystal_type`, `avoid_modify`, `duration`, `p_def`, `m_def`, `mp_bonus`, `price`, `crystal_count`, `sellable`, `dropable`, `destroyable`, `tradeable`, `item_skill_id`, `item_skill_lvl`)
VALUES
   ('9519', 'Titanium Boots', 'feet', 'true', 'light', 1130, 'leather', 's', '0', '-1', '55', '0', '0', '0', '800', 'false', 'true', 'true', 'true', '0', '0');
[Err] 1062 - Entrada '9520' duplicada para a chave 1
[Err] INSERT INTO armor
   (`item_id`, `name`, `bodypart`, `crystallizable`, `armor_type`, `weight`, `material`, `crystal_type`, `avoid_modify`, `duration`, `p_def`, `m_def`, `mp_bonus`, `price`, `crystal_count`, `sellable`, `dropable`, `destroyable`, `tradeable`, `item_skill_id`, `item_skill_lvl`)
VALUES
   ('9520', 'Titanium Helmet', 'head', 'true', 'light', 570, 'leather', 's', '0', '-1', '83', '0', '0', '0', '1100', 'false', 'true', 'true', 'true', '0', '0');
[Err] 1062 - Entrada '9521' duplicada para a chave 1
[Err] INSERT INTO armor
   (`item_id`, `name`, `bodypart`, `crystallizable`, `armor_type`, `weight`, `material`, `crystal_type`, `avoid_modify`, `duration`, `p_def`, `m_def`, `mp_bonus`, `price`, `crystal_count`, `sellable`, `dropable`, `destroyable`, `tradeable`, `item_skill_id`, `item_skill_lvl`)
VALUES
   ('9521', 'Titanium Armor', 'fullarmor', 'true', 'magic', 570, 'leather', 's', '0', '-1', '120', '0', '0', '0', '2000', 'false', 'true', 'true', 'true', '0', '0');
[Err] 
[Err] INSERT INTO armor
   (`item_id`, `name`, `bodypart`, `crystallizable`, `armor_type`, `weight`, `material`, `crystal_type`, `avoid_modify`, `duration`, `p_def`, `m_def`, `mp_bonus`, `price`, `crystal_count`, `sellable`, `dropable`, `destroyable`, `tradeable`, `item_skill_id`, ``item_skill_lvl`)
VALUES
   ('9522', 'Titanium Gloves', 'gloves', 'true', 'magic', 580, 'leather', 's', '0', '-1', '55', '0', '0', '0', '800', 'false', 'true', 'true', 'true', '0', '0');

INSERT INTO armor
   (`item_id`, `name`, `bodypart`, `crystallizable`, `armor_type`, `weight`, `material`, `crystal_type`, `avoid_modify`, `duration`, `p_def`, `m_def`, `mp_bonus`, `price`, `crystal_count`, `sellable`, `dropable`, `destroyable`, `tradeable`, `item_skill_id`, `item_skill_lvl`)
VALUES
   ('9523', 'Titanium Boots', 'feet', 'true', 'magic', 1130, 'leather', 's', '0', '-1', '55', '0', '0', '0', '800', 'false', 'true', 'true', 'true', '0', '0');

INSERT INTO armor
   (`item_id`, `name`, `bodypart`, `crystallizable`, `armor_type`, `weight`, `material`, `crystal_type`, `avoid_modify`, `duration`, `p_def`, `m_def`, `mp_bonus`, `price`, `crystal_count`, `sellable`, `dropable`, `destroyable`, `tradeable`, `item_skill_id`, `item_skill_lvl`)
VALUES
   ('9524', 'Titanium Hat', 'head', 'true', 'magic', 570, 'leather', 's', '0', '-1', '83', '0', '0', '0', '1100', 'false', 'true', 'true', 'true', '0', '0');
[Msg] Finished - Unsuccessfully
-------------------------------------------------


aqui esta a sql
Spoiler
Código: [Somente Usuários Registrados Podem Visualizar os Links Desta PáginaClique aqui para se Registrar]
INSERT INTO armor VALUES ('9513', 'Titanium Armor', 'fullarmor', 'true', 'heavy', 570, 'leather', 's', '0', '-1', '370', '0', '0', '0', '2000', 'false', 'true', 'true', 'true', '0', '0');
INSERT INTO armor VALUES ('9514', 'Titanium Gloves', 'gloves', 'true', 'heavy', 580, 'leather', 's', '0', '-1', '55', '0', '0', '0', '800', 'false', 'true', 'true', 'true', '0', '0');
INSERT INTO armor VALUES ('9516', 'Titanium Helmet', 'head', 'true', 'heavy', 570, 'leather', 's', '0', '-1', '83', '0', '0', '0', '1100', 'false', 'true', 'true', 'true', '', '0', '0');
INSERT INTO armor VALUES ('9517', 'Titanium Armor', 'fullarmor', 'true', 'light', 570, 'leather', 's', '0', '-1', '180', '0', '0', '0', '2000', 'false', 'true', 'true', 'true', '0', '0');
INSERT INTO armor VALUES ('9518', 'Titanium Gloves', 'gloves', 'true', 'light', 580, 'leather', 's', '0', '-1', '55', '0', '0', '0', '800', 'false', 'true', 'true', 'true', '0', '0');
INSERT INTO armor VALUES ('9519', 'Titanium Boots', 'feet', 'true', 'light', 1130, 'leather', 's', '0', '-1', '55', '0', '0', '0', '800', 'false', 'true', 'true', 'true', '0', '0');
INSERT INTO armor VALUES ('9520', 'Titanium Helmet', 'head', 'true', 'light', 570, 'leather', 's', '0', '-1', '83', '0', '0', '0', '1100', 'false', 'true', 'true', 'true', '0', '0');
INSERT INTO armor VALUES ('9521', 'Titanium Armor', 'fullarmor', 'true', 'magic', 570, 'leather', 's', '0', '-1', '120', '0', '0', '0', '2000', 'false', 'true', 'true', 'true', '0', '0');
INSERT INTO armor VALUES ('9522', 'Titanium Gloves', 'gloves', 'true', 'magic', 580, 'leather', 's', '0', '-1', '55', '0', '0', '0', '800', 'false', 'true', 'true', 'true', '0', '0');
INSERT INTO armor VALUES ('9523', 'Titanium Boots', 'feet', 'true', 'magic', 1130, 'leather', 's', '0', '-1', '55', '0', '0', '0', '800', 'false', 'true', 'true', 'true', '0', '0');
INSERT INTO armor VALUES ('9524', 'Titanium Hat', 'head', 'true', 'magic', 570, 'leather', 's', '0', '-1', '83', '0', '0', '0', '1100', 'false', 'true', 'true', 'true', '0', '0');


alguem pode me ajuda a resolver pos esto desde meio dia tentando :frown:

nunca acredite na palavra de uma mulher q ainda depente do pai para viver pos elas nao sabem oq diz

Nycole

Garcia está offline  
Links Patrocinados