HOW TO USE MSQL-IMPORT

example of use:

CREATE TABLE table (
        id   INT,
        name CHAR(20))

Let's assume /tmp/datafile contains the following:

1	Mark
2	David
3	Scott

msql-import -h host -d base -t table -c \\t -r \\n -i /tmp/flatfile

Will import the contents of /tmp/flatfile into 'table' of the 'base' database,
on the MiniSQL server running on the 'host' machine.  The field delimiter
is TAB, and the record delimiter is newline.

Optionally, the field names could have been specified, which is helpful
when the order of the values in the datafile is not the same as the order
of the fields in the table.

Now let's assume /tmp/datafile contains the following:

Mark	1
David	2
Scott	3

We would import this data into 'table' with this command:

msql-import -h host -d database -t table -c \\t -r \\n -i /tmp/flatfile -f name,id

To view msql-import's online help, type: msql-import --help
