X-Original-To: pgsql-interfaces@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 915194762A2 for ; Fri, 11 Apr 2003 08:58:55 -0400 (EDT) Received: from europa.janwieck.net (h00045a2e4e7c.ne.client2.attbi.com [24.131.181.55]) by postgresql.org (Postfix) with ESMTP id CAD684761BC for ; Fri, 11 Apr 2003 08:58:54 -0400 (EDT) Received: from Yahoo.com (linksys.janwieck.net [192.168.192.1]) (authenticated) by europa.janwieck.net (8.11.6/8.11.6) with ESMTP id h3BCwva10383; Fri, 11 Apr 2003 08:58:57 -0400 Message-ID: <3E96BBFF.EA28AE13@Yahoo.com> Date: Fri, 11 Apr 2003 08:58:39 -0400 From: Jan Wieck Organization: Home X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) X-Accept-Language: en,ru MIME-Version: 1.0 To: Faizol Halim Cc: pgsql-interfaces@postgresql.org Subject: Re: export to excel format References: <20030411063503.79822.qmail@web10009.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-18.8 required=5.0 tests=BAYES_10,EMAIL_ATTRIBUTION,REFERENCES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/83 X-Sequence-Number: 4022 Faizol Halim wrote: > > hi all, > first of all, I'm sorry if this is not the right > place to ask (if so, where should I direct the > question to?) > my question: > is there anyway that I could export some of my tables > to an excel format..? any module or pointers on how > this could be done..? Maybe, but what about "importing" the data directly? Get the PostgreSQL ODBC driver http://gborg.postgresql.org/project/psqlodbc/projdisplay.php and install it on your Windows box. Add the ODBC support functions on the database side. Make sure the Windows system has access to the database (pg_hba.conf, username/password). Create a DSN and access the database directly from Excel. Jan -- #======================================================================# # It's easier to get forgiveness for being wrong than for being right. # # Let's break this rule - forgive me. # #================================================== JanWieck@Yahoo.com #