0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Microsoft Access の mdb ファイル (JET DB)をいじるためのTips

Last updated at Posted at 2024-01-04

しがないメモですが

Windows GUI で閲覧する

A5SQLmk2 を使う

mdbパスワードを忘れた

NirSoft Access PassView を使うと数秒で教えてくれます

破損したデータベースを回復する

Microsoftが JETCOMP というツールを出しています

mdbファイルのバイナリ形式を知りたい

mdbtools の付属ドキュメントに書いてあります

クエリを投げて読み取る

mdbtools が便利。UNIXだけでなくwindowsバイナリもあるよ。
これは読み込みだけのツールであって、更新はしません。

たとえばバージョンを知りたいなら

$ mdb-ver.exe hoge.mdb
JET4

行数を数えたいなら、

$ mdb-sql.exe hoge.mdb
=> select count(*) FROM WorkingLog;

がっつり操作したい

jet-tool になるかと。

データをダンプするには、

jet dump -f hoge.mdb --data -dp SECRET -stdo dump.sql

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?