mdb-array(1)

✨ mdb-array(1) ✨

okay bestie, welcome to the mdb-array page πŸ’– this one lives in the Executable programs or shell commands section of the manual, and it's a lil tool from the MDB Tools crew. let's get into it 🫢


🌸 NAME 🌸

mdb-array β€” export data in an MDB database table to a C array. no cap, that's literally the whole job πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

mdb-array database table

two args, that's it, she's low maintenance ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

so mdb-array is a utility program that ships with MDB Tools, okay?

what she does is print a C source code file straight to stdout, and inside that file is an array representing the data of the table you asked for. it's giving "here's your table, but make it C" πŸ”₯


πŸ’œ ENVIRONMENT πŸ’œ

the vibes here are very "these env vars will change how she behaves":

  • MDB_JET3_CHARSET β€” sets the charset of the input JET3 (access 97) file. the default is CP1252. go peek at iconv(1) if you wanna know more 🧚
  • MDBICONV β€” sets the output charset. default is UTF-8. heads up tho: mdbtools must have been compiled with iconv for this to work at all πŸ™ˆ
  • MDBOPTS β€” a colon-separated list of options, and bestie, here's the whole roster:
    • 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 β€” like, none, she does nothing)
    • use_index (experimental; requires libmswstr)

πŸ’€ FUTURE DIRECTIONS πŸ’€

ok so. deep breath. 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 β€” and this is the important part, bestie β€” should you find this tool useful, drop us a line at https://github.com/mdbtools/mdbtools/issues/197 and we'll consider maintaining it. please, we're literally asking πŸ₯ΊπŸ«Ά


🌈 SEE ALSO 🌈

go read these too, they're all iconic in their own way:


πŸ‘‘ AUTHORS πŸ‘‘

the mdb-array utility was written by Brian Bruns. give him his flowers πŸ’


and that's the page!! MDBTools 1.0.1, dated 13 July 2026 β€” mwah, stan, periodt πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from