msql-import 0.0.9 README

This is the README file for msql-import, a simple ANSI-C program for
uploading flat files into existing Mini SQL tables.

msql-import is typically used when you want to populate a mSQL table
from the contents of a TAB delimited flat file, such as a Lotus 1-2-3
spreadsheet.  msql-import reads the contents of the file, and sends
INSERT statements to the database server to populate the table.

LIMITS:

msql-import accepts rows of any length, and up to 255 fields per table.
The latter can be changed by modifying the IMPORT_MAX_FIELDS #define.

ABOUT THE AUTHOR:

msql-import was written by Pascal Forget at WSC Investment Services,
in New York city.  You can reach him by email at pascal@wsc.com, or at
pascal@hasc.ca.

HISTORY:

New for 0.0.9

Fixed the field delimiter problem.  Previously, the value was hard-coded
as the TAB character, and msql-import would simply ignore the -c
command line argument.  Thanks to Sol Katz <skatz@blm.gov> for identifying
the problem and providing the fix.

New for 0.0.8

Fixed the compiler warning in insert_record().

New for 0.0.7

Inserts NULL correctly when a numerical value is absent.

Additional error messages, enhanced command line interface.  Many thanks
go to Sol Katz <skatz@blm.gov> for contributing the argument parsing code.

Allows quotes, double quotes and backslashes inside CHAR fields.

Fixed crashes when encountering quote or parentheses characters in
CHAR fields, many thanks to Michel Rabozee <metaphor@interpac.be>
Merci Michel!

New for 0.0.6

Bug fix release

New for 0.0.5

Allows parentheses in CHAR fields.

New for 0.0.4

Removed some compiler warnings and fixed a bug in main() that caused the
program to crash (segmentation fault) under certain circumstances

New for 0.0.3:

msql-import now converts the data values to the field's datatype on the fly.
It also allows for input records to be larger than the actual table rows.
It allows for CHAR fields to contain single quotes.

LICENSE:

msql-import is freeware.  Give it to anyone you like, but please don't charge
for it.  I don't.
