Migrate MS Access to PostgreSQL [closed]

浪尽此生 提交于 2020-01-04 18:30:30

问题


I'm getting data as an Access file.

My application uses PostgreSQL/Java. I'd like to convert the Access database to PostgreSQL. can any one help me to code this


回答1:


I doubt there is any simple automatic method. You will have to create ddl statements to make the tables in postgresql (not sure if you can export ddl from access), export the data from access to a csv, and then use postgresql copy from command to populate the tables.

Or you could consider trying this tool:

http://docman.sourceforge.net/home_html/projects/sql/exportSQL3.txt

but it looks like a dev version, it may not be mature.



来源:https://stackoverflow.com/questions/20780250/migrate-ms-access-to-postgresql

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!