Solved

How can I integrate PostgreSQL database in google docs spreadsheet?

Posted on 2016-08-24
1
605 Views
Last Modified: 2016-08-25
I'm looking for a solution to integrate a PostgreSQL database in my google docs spreadsheet.

My database consists of about 20 or so tables, some with several thousand rows.

The database is constantly changing and the latest updates need to be accessible from within google docs.  So a one off import wouldn't be ideal.

Is this possible?   Any help would be appreciated.
0
Comment
Question by:Tom
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 40

Accepted Solution

by:
lcohan earned 500 total points
ID: 41770526
You could do that by runing from within any psql prompt a command like:

copy (select foo, col from tab) to stdout with csv;

and then you can just copy/paste into your spreadsheet program of choice. Looks like for google docs it works better to directly paste it into a CSV file and then upload it rather than messing around with copy and paste.


OR you can use a 3rd party connector like:

https://www.dataeverywhere.com/use-database-sheets
https://zapier.com/zapbook/google-docs/postgresql/
OR
"Yes. Kloud.io is a data analytics product whose mission is to democratize data access for everyone. It lets you connect a google sheet to a Postgres or mysql database, define your reports in http://app.kloudio.io and then select that query in your google sheet to run it. Kloudio - Google Sheets add-on has a basic version that is completely free and very simple to use. There is also an enterprise version that can be hosted on-premise and data will not leave a company’s firewall"
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Many developers have database experience, but are new to PostgreSQL. It has some truly inspiring capabilities. I have several years' experience with Microsoft's SQL Server. When I began working with MySQL, I wanted a quick-reference to MySQL (htt…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
Viewers will learn what comprises a theme in Excel 2013, as well as how to customize them.
Viewers will learn the basics of formula auditing in Excel 2013.

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question