Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 18EE61715CF for ; Mon, 2 Jan 2012 15:14:05 -0400 (AST) Received: from mail-iy0-f174.google.com ([209.85.210.174]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RhnKd-0002WM-2x for pgsql-sql@postgresql.org; Mon, 02 Jan 2012 19:14:05 +0000 Received: by iaeh11 with SMTP id h11so29674535iae.19 for ; Mon, 02 Jan 2012 11:13:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=sFzRuDhOOAGxd3/kwWUYrJB2rPRoOGJnBmuicVAn08c=; b=v5HiFIcDXMsziBZTlzn9zIeLEAbuG1fUbVX8u4Hj/gwU6FiXKwj8gXTSOGlnyFJBHy JZ6oA7FRtAqKIyug14Q85Zw6jfzRBp9KXgVKXfHHMRGTOBTfMdXyTyYNzetlj3uIsgXH CM3uXrZQDKrsXlxoy6tyO78t376bMEvrnDzWg= Received: by 10.50.34.164 with SMTP id a4mr20725639igj.9.1325531630665; Mon, 02 Jan 2012 11:13:50 -0800 (PST) Received: from [10.9.73.100] (173-164-88-9-Oregon.hfc.comcastbusiness.net. [173.164.88.9]) by mx.google.com with ESMTPS id d19sm167776849ibh.8.2012.01.02.11.13.49 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 02 Jan 2012 11:13:50 -0800 (PST) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1251.1) Subject: Re: i want small information regarding postgres From: Brent Dombrowski In-Reply-To: <20120102080022.GA4898@tux> Date: Mon, 2 Jan 2012 11:13:49 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20120102080022.GA4898@tux> To: pgsql-sql X-Mailer: Apple Mail (2.1251.1) X-Pg-Spam-Score: -2.6 (--) X-Archive-Number: 201201/6 X-Sequence-Number: 36177 On Jan 2, 2012, at 12:00 AM, Andreas Kretschmer wrote: > vinodh chowdary wrote: >=20 >> Hi sir, >>=20 >> i am using postgres as database for my project. >> i want to convert postgres data into excel sheet. >> is there any way to do it? >> please reply me. >=20 > This should be possible with ODBC. > (But i'm not familiar with it, don't ask me how ...) I've used ODBC to generate Excel reports from PostgreSQL data in the = past. It's fairly easy for simple queries. If your queries are = complicated, you may have to execute them from a Visual Basic Macro. The = MS query builder will try to check raw SQL and may reject your query = because it's not that smart. In particular, I had trouble with stored = procedures in my queries. If it is something that you plan on doing = routinely, I would set up a macro and a keyboard shortcut or button so = you can run the macro quickly and easily.