Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I export POSTGRES data into MS Access?

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I need to get the contents of two tables from a postgres database into a CSV text file or something else that I can import into Access. How do I do an export to text with postgres?

What ODBC options are there? If I used the postgres ODBC driver on my Windows system, is there a program that will pull all the data for me or should I create my own app? What files from the postgres database do I need if I do this?
 
The easiest way to do this is to install psqlODBC on your Windows computer. (read This will allow you to make a connection to PostgreSQL and share that connection as a local ODBC source in your Data Sources (ODBC) section of your Control Panel.

Just make sure PostgreSQL was installed with the --enable-odbc option when compiled, and setup your pg_hba.conf file to allow for connections from your Windows machine.

Then, you can use Access to either manipulate the PostgreSQL database remotely, or to import any tables you want locally as regular Access tables. -------------------------------------------

"Now, this might cause some discomfort..."
(
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top