Solved

How can I integrate PostgreSQL database in google docs spreadsheet?

Posted on 2016-08-24
1
390 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
1 Comment
 
LVL 39

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Postgres Joining 10 59
LARGE INDEX formula 3 78
Excel 2010 - Formula to show Max of values 11 62
google sheets dynamically calculate days between two dates 10 61
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 the basics of using filtering and sorting in Excel 2013.
Viewers will learn how to share Excel data with others from desktop Excel, as well as Excel Online via OneDrive, and embed an Excel file on a website.

773 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