如何将MS Access数据库导出到SQLite数据库? (vb.net\c#) [英] How to export a MS Access database to a SQLite database? (vb.net\c#)

查看:98
本文介绍了如何将MS Access数据库导出到SQLite数据库? (vb.net\c#)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,



问题很简单:如何将MS Access数据库导出到SQLite数据库,我将使用在Android中?



或者:有没有办法在Android编程中使用Access数据库?一些可以在Android系统上使用的java库?



感谢您的帮助!!

解决方案

< blockquote>有很多方法可以做到这一点。



例如,您可以编写一个连接到Access数据库的小应用程序(VB.Net,C#)使用OleDb并将数据获取到数据集。之后使用例如 System.Data.SQLite [ ^ 再次或OleDb并将数据集中的数据插入数据库。



完全不同的方法可能是使用 TransferText [ ^ ]然后使用SQLite shell将数据导入SQLite,参见< a href =http://www.sqlite.org/cvstrac/wiki?p=ImportingFiles> sqlite - 导入文件 [ ^ ]


Hello,

The question is simple: how can i export a MS Access database to a SQLite database, which i will use in Android?

Or: is there some way to use an Access database in programming for android? Some libraries for java which can be used on Android system?

Thank you for your help!!

解决方案

There are quite a few ways to do this.

For example, you can write a small application (VB.Net, C#) which connects to the Access Database using OleDb and gets the data to a dataset. After that connect to the SQLite database using for example System.Data.SQLite[^] or OleDb again and insert the data from the dataset to the database.

A completely different approach could be to export the data from Access into a CSV file using TransferText[^] and then importing the data into SQLite using SQLite shell, see sqlite - Importing Files[^]


这篇关于如何将MS Access数据库导出到SQLite数据库? (vb.net\c#)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆