[ Поиск ] - [ Пользователи ] - [ Календарь ]
Полная Версия: ошибка при создании новой таблицы
11klass

-- Структура таблицы `indeks`
--

CREATE TABLE IF NOT EXISTS `indeks` (
`id_indeks` int(10) unsigned NOT NULL auto_increment,
`id_town` int(10) unsigned NOT NULL,
`id_area` int(10) unsigned NOT NULL,
`id_region` int(10) unsigned NOT NULL,
`id_country` mediumint(8) unsigned NOT NULL,
`name` varchar(255) default NULL,
PRIMARY KEY (`id_indeks`),
KEY `id_town` (`id_town`),
KEY `id_area` (`id_area`),
KEY `id_region` (`id_region`),
KEY `id_country` (`id_country`)
)
ENGINE=MyISAM DEFAULT CHARSET=cp1251 AUTO_INCREMENT=17590 ;

--
--
Дамп данных таблицы `indeks`
--

INSERT INTO `indeks` (id_indeks`, `id_town`, `id_area`, `id_region`, `id_country`, `name`) VALUES
(1,1,1,33,1,'385200'),
(
2,2,2,33,1,'385638'),
(
3,3,2,33,1,'385636'),
(
4,4,2,33,1,'385637'),
(
5,5,2,33,1,'385634'),
(
6,6,2,33,1,'385633'),
(
7,7,2,33,1,'385632'),
(
8,8,2,33,1,'385635'),
(
9,9,2,33,1,'385631'),
(
10,10,2,33,1,'385600'),
(
11,11,3,33,1,'385437'),
....



что за ошибка
MySQL said:

#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 '`, `id_town`, `id_area`, `id_region`, `id_country`, `name`) VALUES
(1,1,1,33,1,'' at line 5

?
Быстрый ответ:

 Графические смайлики |  Показывать подпись
Здесь расположена полная версия этой страницы.
Invision Power Board © 2001-2024 Invision Power Services, Inc.