Giter Site home page Giter Site logo

access2csv's Introduction

access2csv

Simple program to extract data from Access databases into CSV files.

Features

  • view the schema of the database
  • export all tables to csv files named after the table
  • export one table

Examples

Dumping a schema:

$ java -jar access2csv.jar myfile.accdb --schema	
CREATE TABLE Test(
	Id INT,
	Name TEXT,
)
CREATE TABLE Test2(
	Id INT,
	Name TEXT
)

Exporting all tables:

$ java -jar access2csv.jar myfile.accdb
Exporting 'Test' to /home/ryepup/Test.csv
2 rows exported
Exporting 'Test2' to /home/ryepup/Test2.csv
100000 rows exported

Export one table:

$ java -jar access2csv.jar myfile.accdb Test
1,"foo"
2,"bar"

Installation

Binaries are available at https://github.com/AccelerationNet/access2csv/releases, download a jar file from there then use it as shown above.

Compile from source

$ git clone https://github.com/AccelerationNet/access2csv.git
$ cd access2csv
$ ant

Now you should have an access2csv.jar, ready to go.

Depenencies

  • Jackess - a pure Java library for reading from and writing to MS Access databases
  • opencsv - CSV library

Contributing

Use https://github.com/AccelerationNet/access2csv to open issues or pull requests.

access2csv's People

Contributors

ryepup avatar

Watchers

James Cloos avatar Christopher Duncombe Rae avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.