- Copy to clipboard
- Output format: SQL INSERTs
- Row Selection: selection
- Options: Include column names & Include auto increment column
The result is that only 1 row from the selection is exported and it seems to be picked up randomly. Also, after the exporting my original selection changes so that only that one row is selected. The same happens when I try exporting to a file. In other words I am not able to export any significant number of selected rows.
I have seen this problem only on one of my tables so maybe it's dependent on the structure. Here is the table structure:
CREATE TABLE `sklep_produkty` (
`prod_id` MEDIUMINT(8) UNSIGNED NOT NULL AUTO_INCREMENT,
`producent_id` MEDIUMINT(8) UNSIGNED NULL DEFAULT NULL,
`prod_name` VARCHAR(255) NOT NULL COLLATE 'utf8_polish_ci',
`prod_name_edit` VARCHAR(255) NULL DEFAULT NULL COMMENT 'nazwa do edycji, moze zawierac dodatkowe znaczniki; NULL jesli taka sama jak prod_name' COLLATE 'utf8_polish_ci',
`prod_web_name` VARCHAR(200) NULL DEFAULT NULL COMMENT 'nazwa do adresu' COLLATE 'ascii_general_ci',
`price` DECIMAL(10,2) NULL DEFAULT NULL,
`prev_price` DECIMAL(10,2) NULL DEFAULT NULL COMMENT 'cena przekreslona',
`price_text` VARCHAR(50) NULL DEFAULT NULL COMMENT 'tekst w miejsce ceny, jesli nie ma ceny' COLLATE 'utf8_polish_ci',
`price_rent1` DECIMAL(10,2) NULL DEFAULT NULL COMMENT 'cena wypozyczenia na 1 dzien',
`price_rent2` DECIMAL(10,2) NULL DEFAULT NULL COMMENT 'cena wypozyczenia na 3 dni',
`show_price_range` TINYINT(1) NOT NULL DEFAULT '0' COMMENT 'czy pokazywac zakres cen wersji na liscie produktow',
`price_promotion` VARCHAR(200) NULL DEFAULT NULL COMMENT 'info o promocji cenowej' COLLATE 'utf8_polish_ci',
`price_promotion_link` VARCHAR(255) NULL DEFAULT NULL COLLATE 'utf8_polish_ci',
`in_set` TEXT NULL COMMENT 'opis: w zestawie' COLLATE 'utf8_polish_ci',
`main_features` TEXT NULL COMMENT 'najwazniejsze cechy' COLLATE 'utf8_polish_ci',
`no_main_features_label` TINYINT(1) NOT NULL DEFAULT '0' COMMENT 'nie pokazuj opisu "najwazniejsze cechy"',
`short_desc` TEXT NULL COMMENT 'krotki opis' COLLATE 'utf8_polish_ci',
`long_desc` TEXT NULL COLLATE 'utf8_polish_ci',
`param` TEXT NULL COMMENT 'dane techniczne' COLLATE 'utf8_polish_ci',
`param_type` ENUM('list','specs','no_list') NOT NULL DEFAULT 'list' COMMENT 'sposob wyswietlania danych technicznych' COLLATE 'utf8_polish_ci',
`no_param_label` TINYINT(1) NOT NULL DEFAULT '0' COMMENT 'nie pokazuj opisu "dane techniczne" (nieuzywane)',
`show_main_features` TINYINT(1) NOT NULL DEFAULT '1' COMMENT 'pokazuj "najwazniejsze cechy" obok zdjecia',
`show_in_set` TINYINT(1) NOT NULL DEFAULT '0' COMMENT 'pokazuj "w zestawie" obok zdjecia',
`show_param` TINYINT(1) NOT NULL DEFAULT '0' COMMENT 'pokazuj "dane techniczne" obok zdjecia',
`big_pic_margin_x` TINYINT(3) UNSIGNED NULL DEFAULT NULL,
`big_pic_margin_y` TINYINT(3) UNSIGNED NULL DEFAULT NULL,
`hidden_flag` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'czy ukryty, wartosc do ustawiania w adminie',
`hidden` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'czy faktycznie ukryty; wartosc wyliczana z hidden_flag uwzgledniajac tez hidden_flag w kategorii i w kategoriach nadrzednych',
`ready` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'produkt gotowy (opracowany w adminie, czekajacy na dodanie ceny, itp.)',
`added_time` DATETIME NULL DEFAULT NULL,
`modified_time` DATETIME NULL DEFAULT NULL,
`to_correct` TINYINT(1) NOT NULL DEFAULT '0' COMMENT 'zawiera dane do poprawki',
`availability_id` TINYINT(3) UNSIGNED NOT NULL,
`auto_availability` TINYINT(1) NOT NULL DEFAULT '1' COMMENT 'przy wlaczonej automatycznej dostepnosci produkt ma dost. jak w availability_id, jesli go nie ma w magazynie, inaczej jest dostepny',
`availability_status` TINYINT(3) UNSIGNED NOT NULL DEFAULT '1' COMMENT '[POLE DO WYWALENIA] 0=na zamowienie jesli nie ma w mag.; 1=dostepnosc wg magazynu; bit 128=reczna dostepnosc',
`movie_link` VARCHAR(255) NULL DEFAULT NULL COLLATE 'utf8_polish_ci',
`movie_win_width` SMALLINT(5) UNSIGNED NULL DEFAULT NULL,
`movie_win_height` SMALLINT(5) UNSIGNED NULL DEFAULT NULL,
`prod_name_sort` MEDIUMINT(9) NOT NULL COMMENT 'kolumna do sortowania naturalnego wg prod_name',
PRIMARY KEY (`prod_id`),
UNIQUE INDEX `prod_web_name` (`prod_web_name`),
INDEX `hidden` (`hidden`),
INDEX `ready` (`ready`),
INDEX `fk_sklep_produkty_sklep_producenci1` (`producent_id`),
INDEX `fk_sklep_produkty_sklep_dostepnosci1` (`availability_id`),
CONSTRAINT `fk_sklep_produkty_sklep_dostepnosci1` FOREIGN KEY (`availability_id`) REFERENCES `sklep_dostepnosci` (`availability_id`) ON UPDATE CASCADE ON DELETE NO ACTION,
CONSTRAINT `fk_sklep_produkty_sklep_producenci1` FOREIGN KEY (`producent_id`) REFERENCES `sklep_producenci` (`producent_id`) ON UPDATE CASCADE ON DELETE NO ACTION
)
COLLATE='utf8_polish_ci'
ENGINE=InnoDB
AUTO_INCREMENT=6127;