2010-06-18 07:53:40 +08:00
|
|
|
NAME
|
|
|
|
mdb-parsecsv - Convert CSV table dump into C file.
|
|
|
|
|
|
|
|
SYNOPSIS
|
2012-02-02 16:46:11 +08:00
|
|
|
mdb-parsecsv file
|
2010-06-18 07:53:40 +08:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
mdb-parsecsv is a utility program distributed with MDB Tools.
|
|
|
|
|
|
|
|
mdb-parsecsv takes a CSV file representing a database table, and converts
|
|
|
|
it into a C array.
|
|
|
|
|
|
|
|
NOTES
|
|
|
|
If the first argument does not exist as a file, mdb-parsecsv will look for
|
|
|
|
the same filename with '.txt' appended.
|
|
|
|
|
|
|
|
The file extension is stripped, and the output written to the base name
|
|
|
|
plus a '.c' extension.
|
|
|
|
|
2011-08-29 07:53:29 +08:00
|
|
|
ENVIRONMENT
|
|
|
|
MDB_JET3_CHARSET Defines the charset of the input JET3 (access 97) file. Default is CP1252. See iconv(1).
|
|
|
|
MDBICONV Defines the output charset to use for the SQL file. Default is UTF-8. mdbtools must have been compiled with iconv.
|
2021-01-20 05:27:36 +08:00
|
|
|
MDBOPTS Colon-separated list of options:
|
2011-08-29 07:53:29 +08:00
|
|
|
* debug_like
|
|
|
|
* debug_write
|
|
|
|
* debug_usage
|
|
|
|
* debug_ole
|
|
|
|
* debug_row
|
|
|
|
* debug_props
|
|
|
|
* debug_all is a shortcut for all debug_* options
|
2021-01-20 05:27:36 +08:00
|
|
|
* no_memo (deprecated; has no effect)
|
|
|
|
* use_index (experimental; requires libmswstr)
|
2011-08-29 07:53:29 +08:00
|
|
|
|
2020-11-25 22:42:57 +08:00
|
|
|
FUTURE DIRECTIONS
|
|
|
|
mdb-parsecsv is deprecated. Soon, it will no longer be distributed.
|
|
|
|
|
|
|
|
It is the feeling of developers that it is not used, as C code generation
|
|
|
|
is now usually replaced by more generic approaches, including libmdb calls
|
|
|
|
and odbc.
|
|
|
|
|
|
|
|
However, should you find this tool useful, drop us a line at
|
|
|
|
https://github.com/mdbtools/mdbtools/issues/197
|
|
|
|
and we'll consider maintaining it.
|
|
|
|
|
2012-02-02 16:25:21 +08:00
|
|
|
SEE ALSO
|
2020-10-23 18:53:41 +08:00
|
|
|
mdb-array(1) mdb-count(1) mdb-export(1) mdb-header(1) mdb-hexdump(1)
|
|
|
|
mdb-import(1) mdb-json(1) mdb-prop(1) mdb-queries(1)
|
|
|
|
mdb-schema(1) mdb-sql(1) mdb-tables(1) mdb-ver(1)
|
2012-02-02 16:25:21 +08:00
|
|
|
|
2010-06-18 07:53:40 +08:00
|
|
|
AUTHORS
|
2012-02-02 16:25:21 +08:00
|
|
|
The mdb-parsecsv utility was written by Brian Bruns.
|