Re: Import *.sql file per command line
am 22.09.2006 09:26:04 von Neugi
Hi,
hier ein teil der SQL datei:
INSERT INTO `ARTIKEL` (`REC_ID`, `ARTNUM`, `ERSATZ_ARTNUM`,
`MATCHCODE`, `WARENGRUPPE`, `RABGRP_ID`, `BARCODE`, `BARCODE2`,
`BARCODE3`, `ARTIKELTYP`, `KURZNAME`, `LANGNAME`, `KAS_NAME`, `INFO`,
`ME_EINHEIT`, `VPE`, `PR_EINHEIT`, `LAENGE`, `BREITE`, `HOEHE`,
`GROESSE`, `DIMENSION`, `GEWICHT`, `INVENTUR_WERT`, `EK_PREIS`, `VK1`,
`VK1B`, `VK2`, `VK2B`, `VK3`, `VK3B`, `VK4`, `VK4B`, `VK5`, `VK5B`,
`MAXRABATT`, `MINGEWINN`, `PROVIS_PROZ`, `STEUER_CODE`, `ALTTEIL_FLAG`,
`NO_RABATT_FLAG`, `NO_PROVISION_FLAG`, `NO_BEZEDIT_FLAG`, `NO_EK_FLAG`,
`NO_VK_FLAG`, `SN_FLAG`, `AUTODEL_FLAG`, `KOMMISION_FLAG`,
`LIZENZ_FLAG`, `PRODUKTION_FLAG`, `PROD_DAUER`, `MENGE_START`,
`MENGE_AKT`, `MENGE_MIN`, `MENGE_BVOR`, `DEFAULT_LIEF_ID`,
`ERLOES_KTO`, `AUFW_KTO`, `HERKUNFTSLAND`, `HERSTELLER_ID`,
`HERST_ARTNUM`, `LAGERORT`, `ETIKETT_PRINT`, `ERSTELLT`, `ERST_NAME`,
`GEAEND`, `GEAEND_NAME`, `SHOP_ID`, `SHOP_ARTIKEL_ID`, `SHOP_KURZTEXT`,
`SHOP_LANGTEXT`, `SHOP_IMAGE`, `SHOP_IMAGE_MED`, `SHOP_IMAGE_LARGE`,
`SHOP_DATENBLATT`, `SHOP_KATALOG`, `SHOP_ZEICHNUNG`, `SHOP_HANDBUCH`,
`AUSSCHREIBUNGSTEXT`, `SHOP_PREIS_LISTE`, `SHOP_VISIBLE`,
`SHOP_DATE_NEU`, `SHOP_FAELLT_WEG_AB`, `SHOP_CLICK_COUNT`, `SHOP_SYNC`,
`SHOP_ZUB`, `SHOP_CHANGE_DATE`, `SHOP_CHANGE_FLAG`, `SHOP_DEL_FLAG`,
`SHOP_PASSWORD`, `SHOP_META_TITEL`, `SHOP_META_BESCHR`,
`SHOP_META_KEY`, `USERFELD_01`, `USERFELD_02`, `USERFELD_03`,
`USERFELD_04`, `USERFELD_05`, `USERFELD_06`, `USERFELD_07`,
`USERFELD_08`, `USERFELD_09`, `USERFELD_10`) VALUES (1, '219973', '',
'219973', 2560, '-', NULL, NULL, NULL, 'N', 'Trek iBeat Mood 512MB U2',
'Trek iBeat Mood 512MB U2', 'Trek iBeat Mood 512MB U2', '47', 'Stück',
1, 0.00, NULL, NULL, NULL, NULL, NULL, 0.000, 100.00, 35.0000, 45.8333,
55.0000, 45.8333, 55.0000, 45.8333, 55.0000, 45.8333, 55.0000, 45.8333,
55.0000, 0.00, 0.00, 0.00, 1, 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N',
'N', 'N', 'N', 14, 1.0000, 1.0000, 0.0000, 0.0000, -1, 8400, 3400,
NULL, -1, 'KMAK3F', NULL, 0, '2006-07-01', 'Admin', '2006-09-16',
'Tobler S.', 1, 219973, 'Trek iBeat Mood 512MB U2', 'Trek iBeat Mood
512MB U2', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0.0000, 0,
NULL, NULL, 0, 0, 0, NULL, 1, 'N', NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(2, '219974', NULL, '219974', 2560, '-', NULL, NULL, NULL, 'N', 'Trek
iBeat115 2.0 1GB', 'Trek i.Beat115 2.0 1GB', 'Trek i.Beat115 2.0 1GB',
'47', 'Stück', 1, 0.00, NULL, NULL, NULL, NULL, NULL, 0.000, 100.00,
00000, 58.3250, 69.9900, 58.3250, 69.9900, 58.3250, 69.9900, 58.3250,
69.9900, 58.3250, 69.9900, 0.00, 0.00, 0.00, 1, 'N', 'N', 'N', 'N',
'N', 'N', 'N', 'N', 'N', 'N', 'N', 14, 0.0000, 0.0000, 0.0000, 0.0000,
-1, 8400, 3400, NULL, -1, 'KNAK4A', NULL, 0, '2006-07-01', 'Admin',
'2006-07-01', 'Admin', 2, 219974, 'Trek i.Beat115 2.0 1GB', 'Trek
iBeat115 2.0 1GB', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
00000, 0, NULL, NULL, 0, 0, 0, NULL, 1, 'N', NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(3, '219975', NULL, '219975', 1, '-', NULL, NULL, NULL, 'N', 'Arch
Gmini XS100 bla 3 U2', 'Arch Gmini XS100 bla 3 U2', 'Arch Gmini XS100
bla 3 U2', '47', 'Stück', 1, 0.00, NULL, NULL, NULL, NULL, NULL,
0000, 100.00, 0.0000, 124.1667, 149.0000, 124.1667, 149.0000,
124.1667, 149.0000, 124.1667, 149.0000, 124.1667, 149.0000, 0.00, 0.00,
000, 1, 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 14,
00000, 0.0000, 0.0000, 0.0000, -1, 8400, 3400, NULL, -1, 'KMDR61',
NULL, 0, '2006-07-01', 'Admin', '2006-07-01', 'Admin', 3, 219975, 'Arch
Gmini XS100 bla 3 U2', 'Arch Gmini XS100 bla 3 U2', NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, 0.0000, 0, NULL, NULL, 0, 0, 0, NULL, 0,
'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL),
(4, '219976', '', '219976', 2560, '-', NULL, NULL, NULL, 'N', 'Crea Zen
Nano dbla 512', 'Crea Zen Nano dbla 512', 'Crea Zen Nano dbla 512',
'47', 'Stück', 1, 0.00, NULL, NULL, NULL, NULL, NULL, 0.000, 100.00,
50.0000, 58.3250, 69.9900, 58.3250, 69.9900, 58.3250, 69.9900, 58.3250,
69.9900, 58.3250, 69.9900, 0.00, 0.00, 0.00, 1, 'N', 'N', 'N', 'N',
'N', 'N', 'N', 'N', 'N', 'N', 'N', 14, 0.0000, 0.0000, 0.0000, 0.0000,
-1, 8400, 3400, NULL, -1, 'Knac3C', NULL, 0, '2006-07-01', 'Admin',
'2006-09-16', 'Tobler S.', 4, 219976, 'Crea Zen Nano dbla 512', 'Crea
Zen Nano dbla 512', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
00000, 0, NULL, NULL, 0, 0, 0, NULL, 1, 'N', NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(5, '219977', NULL, '219977', 2560, '-', NULL, NULL, NULL, 'N', 'Crea
Zen Nano pink 512', 'Crea Zen Nano pink 512', 'Crea Zen Nano pink 512',
'47', 'Stück', 1, 0.00, NULL, NULL, NULL, NULL, NULL, 0.000, 100.00,
00000, 58.3250, 69.9900, 58.3250, 69.9900, 58.3250, 69.9900, 58.3250,
69.9900, 58.3250, 69.9900, 0.00, 0.00, 0.00, 1, 'N', 'N', 'N', 'N',
'N', 'N', 'N', 'N', 'N', 'N', 'N', 14, 0.0000, 0.0000, 0.0000, 0.0000,
-1, 8400, 3400, NULL, -1, 'KNAC38', NULL, 0, '2006-07-01', 'Admin',
'2006-07-01', 'Admin', 5, 219977, 'Crea Zen Nano pink 512', 'Crea Zen
Nano pink 512', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0.0000,
0, NULL, NULL, 0, 0, 0, NULL, 0, 'N', NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(6, '219978', NULL, '219978', 2560, '-', NULL, NULL, NULL, 'N', 'Crea
Zen Nano viol 512 U2', 'Crea Zen Nano viol 512 U2', 'Crea Zen Nano viol
512 U2', '47', 'Stück', 1, 0.00, NULL, NULL, NULL, NULL, NULL, 0.000,
100.00, 0.0000, 58.3250, 69.9900, 58.3250, 69.9900, 58.3250, 69.9900,
58.3250, 69.9900, 58.3250, 69.9900, 0.00, 0.00, 0.00, 1, 'N', 'N', 'N',
'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 14, 0.0000, 0.0000, 0.0000,
00000, -1, 8400, 3400, NULL, -1, 'KNAC39', NULL, 0, '2006-07-01',
'Admin', '2006-07-01', 'Admin', 6, 219978, 'Crea Zen Nano viol 512 U2',
'Crea Zen Nano viol 512 U2', NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, 0.0000, 0, NULL, NULL, 0, 0, 0, NULL, 0, 'N', NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(7, '219979', NULL, '219979', 2560, '-', NULL, NULL, NULL, 'N', 'Crea
Zen Nano weiß 512 U2', 'Crea Zen Nano weiß 512 U2', 'Crea Zen Nano
weiß 512 U2', '47', 'Stück', 1, 0.00, NULL, NULL, NULL, NULL, NULL,
0000, 100.00, 0.0000, 58.3250, 69.9900, 58.3250, 69.9900, 58.3250,
69.9900, 58.3250, 69.9900, 58.3250, 69.9900, 0.00, 0.00, 0.00, 1, 'N',
'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 14, 0.0000, 0.0000,
00000, 0.0000, -1, 8400, 3400, NULL, -1, 'KNAC3A', NULL, 0,
'2006-07-01', 'Admin', '2006-07-01', 'Admin', 7, 219979, 'Crea Zen Nano
weiß 512 U2', 'Crea Zen Nano weiß 512 U2', NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, 0.0000, 0, NULL, NULL, 0, 0, 0, NULL, 0, 'N',
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL),
(8, '219980', NULL, '219980', 2560, '-', NULL, NULL, NULL, 'N', 'Trek
USB-Ladegerät Mini-USB', 'Trek USB-Ladegerät Mini-USB', 'Trek
USB-Ladegerät Mini-USB', '47', 'Stück', 1, 0.00, NULL, NULL, NULL,
NULL, NULL, 0.000, 100.00, 0.0000, 8.3250, 9.9900, 8.3250, 9.9900,
83250, 9.9900, 8.3250, 9.9900, 8.3250, 9.9900, 0.00, 0.00, 0.00, 1,
'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 14, 1.0000,
10000, 0.0000, 0.0000, -1, 8400, 3400, NULL, -1, 'KMZK03', NULL, 0,
'2006-07-01', 'Admin', '2006-07-01', 'Admin', 8, 219980, 'Trek
USB-Ladegerät Mini-USB', 'Trek USB-Ladegerät Mini-USB', NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, 0.0000, 0, NULL, NULL, 0, 0, 0,
NULL, 0, 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL),
(9, '219981', '', '219981', 2560, '-', NULL, NULL, NULL, 'N',
'Sennheiser MX400', 'Sennheiser MX400', 'Sennheiser MX400', '47',
'Stück', 1, 0.00, NULL, NULL, NULL, NULL, NULL, 0.000, 100.00, 5.6570,
14.9917, 17.9900, 14.9917, 17.9900, 14.9917, 17.9900, 14.9917, 17.9900,
16.6600, 19.9900, 0.00, 0.00, 0.00, 1, 'N', 'N', 'N', 'N', 'N', 'N',
'N', 'N', 'N', 'N', 'N', 14, 0.0000, 0.0000, 0.0000, 0.0000, -1, 8400,
3400, NULL, -1, 'EZKS02', NULL, 0, '2006-07-01', 'Admin', '2006-08-17',
'Tobler S.', 9, 219981, 'Sennheiser MX400', 'Sennheiser MX400', NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0.0000, 0, NULL, NULL, 0, 0,
0, NULL, 1, 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL),
(10, '219982', NULL, '219982', 2560, '-', NULL, NULL, NULL, 'N',
'Sennheiser MX250 Micro-Hörer', 'Sennheiser MX250 Micro-Hörer',
'Sennheiser MX250 Micro-Hörer', '47', 'Stück', 1, 0.00, NULL, NULL,
NULL, NULL, NULL, 0.000, 100.00, 0.0000, 8.3250, 9.9900, 8.3250,
99900, 8.3250, 9.9900, 8.3250, 9.9900, 8.3250, 9.9900, 0.00, 0.00,
000, 1, 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 14,
00000, 0.0000, 0.0000, 0.0000, -1, 8400, 3400, NULL, -1, 'EZKS08',
NULL, 0, '2006-07-01', 'Admin', '2006-07-01', 'Admin', 10, 219982,
'Sennheiser MX250 Micro-Hörer', 'Sennheiser MX250 Micro-Hörer', NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0.0000, 0, NULL, NULL, 0, 0,
0, NULL, 0, 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL),
(11, '219983', NULL, '219983', 2560, '-', NULL, NULL, NULL, 'N',
'Sennheiser MX 51 Street Micro-', 'Sennheiser MX 51 Street Micro-',
'Sennheiser MX 51 Street Micro-', '47', 'Stück', 1, 0.00, NULL, NULL,
NULL, NULL, NULL, 0.000, 100.00, 0.0000, 20.8250, 24.9900, 20.8250,
24.9900, 20.8250, 24.9900, 20.8250, 24.9900, 20.8250, 24.9900, 0.00,
000, 0.00, 1, 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N',
14, 2.0000, 2.0000, 0.0000, 0.0000, -1, 8400, 3400, NULL, -1, 'EZKS81',
NULL, 0, '2006-07-01', 'Admin', '2006-07-01', 'Admin', 11, 219983,
'Sennheiser MX 51 Street Micro-', 'Sennheiser MX 51 Street Micro-',
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0.0000, 0, NULL, NULL,
0, 0, 0, NULL, 0, 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL),
(12, '219984', '', '219984', 2560, '-', NULL, NULL, NULL, 'N',
'Sennheiser OMX 50VC Street', 'Sennheiser OMX 50VC Street', 'Sennheiser
OMX 50VC Street', '47', 'Stück', 1, 0.00, NULL, NULL, NULL, NULL,
NULL, 0.000, 100.00, 16.0000, 20.8250, 24.9900, 20.8250, 24.9900,
20.8250, 24.9900, 20.8250, 24.9900, 24.9900, 29.9900, 0.00, 0.00, 0.00,
1, 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 14, 3.0000,
30000, 0.0000, 0.0000, -1, 8400, 3400, NULL, -1, 'EZKS86', NULL, 0,
'2006-07-01', 'Admin', '2006-08-17', 'Tobler S.', 12, 219984,
'Sennheiser OMX 50VC Street', 'Sennheiser OMX 50VC Street', NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, 0.0000, 0, NULL, NULL, 0, 0, 0,
NULL, 1, 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL),
(13, '219985', NULL, '219985', 2560, '-', NULL, NULL, NULL, 'N', 'Trek
iBeat ceb FM 1GB U2', 'Trek i.Beat ceb FM 1GB U2', 'Trek i.Beat ceb FM
1GB U2', '47', 'Stück', 1, 0.00, NULL, NULL, NULL, NULL, NULL, 0.000,
100.00, 46.5000, 66.6583, 79.9900, 66.6583, 79.9900, 66.6583, 79.9900,
66.6583, 79.9900, 66.6583, 79.9900, 0.00, 0.00, 0.00, 1, 'N', 'N', 'N',
'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 14, 0.0000, 0.0000, 0.0000,
00000, -1, 8400, 3400, NULL, -1, 'KMAK4G', NULL, 0, '2006-07-01',
'Admin', '2006-07-01', 'Admin', 13, 219985, 'Trek i.Beat ceb FM 1GB
U2', 'Trek i.Beat ceb FM 1GB U2', NULL, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, 0.0000, 0, NULL, NULL, 0, 0, 0, NULL, 1, 'N', NULL, NULL,
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
NULL),
ist aus einer artikeldatenbank mit ca 30k einträgen.=20
gruz