mdb-array - Man Page

Export data in an MDB database table to a C array.


mdb-array database table


mdb-array is a utility program distributed with MDB Tools.

mdb-array prints a C source code file to stdout, containing an array representing the data of the specified table.



Defines the charset of the input JET3 (access 97) file. Default is CP1252. See iconv(1).


Defines the output charset. Default is UTF-8. mdbtools must have been compiled with iconv.


Colon-separated list of options:

  • debug_like
  • debug_write
  • debug_usage
  • debug_ole
  • debug_row
  • debug_props
  • debug_all is a shortcut for all debug_* options
  • no_memo (deprecated; has no effect)
  • use_index (experimental; requires libmswstr)

Future Directions

mdb-array 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 and we'll consider maintaining it.

See Also

mdb-count(1) mdb-export(1) mdb-header(1) mdb-hexdump(1) mdb-import(1) mdb-json(1) mdb-parsecsv(1) mdb-prop(1) mdb-queries(1) mdb-schema(1) mdb-sql(1) mdb-tables(1) mdb-ver(1)


The mdb-array utility was written by Brian Bruns.

Referenced By

mdb-count(1), mdb-export(1), mdb-header(1), mdb-hexdump(1), mdb-import(1), mdb-json(1), mdb-parsecsv(1), mdb-prop(1), mdb-queries(1), mdb-schema(1), mdb-sql(1), mdb-tables(1), mdb-ver(1).

20 July 2023 MDBTools 1.0.0 Executable programs or shell commands