;*********************************************************************** ; DBF2MySQL demo script ; Copyright (C) by Alexander Eltsyn ; E-mail: ae@nica.ru, a.eltsyn@usa.net ; WWW: http://www.nica.ru/~ae ;*********************************************************************** ; ; Script format description: ; ; ,,,,,{,=} ; ; Where: ; ; - file name to transfer data from ; - table name to transfer data to ; - Recreate MySQL table structure. Possible values: ; 0: leave table structure unchanged ; 1: drop table and create new trable structure ; according to .DBF file. ; - empty table before data transfer. Values: ; 0: append .DBF data into table ; 1: delete all existing data before data transfer ; - Skip codepage ID check. Values: ; 0: Do codepage ID check in DBF file ; 1: Skip codepage check ; - Target code page. Values: ; 0: Current Windows codepage ; 1: Russian KOI-8 ; 2: Russian MS-DOS (866) ; 3: OEM ; = - associate DBF field name ; with mysql field name. Empty value in ; means, that field should ; not be transfered ; ; ! All of the arguments may be quoted with `"` ; ;Example of script lines ".\db\abit.dbf", abit, 1, 1, 1, 1, lock="" ; ;db\stud.dbf, abit, 0, 1, 0, 0, lock= ;