Showing posts with label SQLite. Show all posts
Showing posts with label SQLite. Show all posts

September 16, 2013

Convert MS-Access to SQLite Database

If you are familiar with MS-Access database creation and wants to covert your database to SQLite without putting all your efforts again.

If you database already exists in MS-Access and you want to have that in SQLite for mobile development. Its now a cake-walk like conversion

Here is an easy process to do that.

 

  • Download from https://code.google.com/p/mdb-sqlite/downloads/list
  • Extract the file, you will be getting mdb-sqlite folder with below file structure
  • image
  • Open Command Prompt and navigate to mdb-sqlite folder
  • Run “ant dist” command (without quotes")
  • image
  • Once the build successful, it will generate dist\main.jar and dist\mdb-sqlite.jar files
  • You can use these jar files to covert your ms-access database to sqlite database with the following command
  • Syntax :-
    • java -jar dist\mdb-sqlite.jar source.mdb output.sqlite
  • Example :-
    • java –jar dist\mdb-sqlite.jar employee.mdb employee.sqlite

 

References

https://code.google.com/p/mdb-sqlite/

Blogger Labels: Convert,SQLite,Database,creation,efforts,Here,Download,code,Extract,folder,Open,Command,Prompt,quotes,Once,files,Syntax,output,Example,employee,References,google,dist,java

January 27, 2012

SQLite Database Instalation and Usage tutorials in Mobile Application Developement

Hi friends,

I would like share something related to Mobile Application Development.

SQLite Command Line Tool

  • Download the sqlite command line tool
  • Opening database with sqlite
  • sqlite_dir_path> sqlite databasefile.db 
    • Note: Save sqlite database file with an extension .db

To find the commands help, please go through the following links
http://www.sqlite.org/sqlite.html
http://zetcode.com/databases/sqlitetutorial/tool/
http://souptonuts.sourceforge.net/readme_sqlite_tutorial.html

SQLite Database Browser

  • Download the lastest sqlite browser files from SourgeForge
  • Extract the files and execute the SQLite Database Browser.exe
  • SQLite Database Browser will be opened

To find more information on usage, please go through the following links
http://www.reigndesign.com/blog/using-your-own-sqlite-database-in-android-applications/
http://www.vogella.de/articles/AndroidSQLite/article.html

For queries, please contact psrdotcom@gmail.com

Featured Post

Java Introdcution

Please send your review and feedback to psrdotcom@gmail.com