X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id 319FDCDF5B for ; Fri, 11 Jul 2003 08:46:53 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 77289-09 for ; Fri, 11 Jul 2003 05:46:39 -0300 (ADT) Received: from hotmail.com (sea2-f26.sea2.hotmail.com [207.68.165.26]) by svr1.postgresql.org (Postfix) with ESMTP id DDBBECF149 for ; Thu, 10 Jul 2003 21:06:14 -0300 (ADT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 10 Jul 2003 15:12:48 -0700 Received: from 128.119.213.160 by sea2fd.sea2.hotmail.msn.com with HTTP; Wed, 09 Jul 2003 19:53:56 GMT X-Originating-IP: [128.119.213.160] X-Originating-Email: [jr_1678@hotmail.com] From: "J P" To: pgsql-odbc@postgresql.org Subject: Small but annoying Excel numeric import problem Date: Wed, 09 Jul 2003 15:53:56 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 10 Jul 2003 22:12:48.0827 (UTC) FILETIME=[65CA60B0:01C34730] X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.7 tagged_above=0.0 required=5.0 tests=FROM_ENDS_IN_NUMS X-Spam-Level: * X-Archive-Number: 200307/26 X-Sequence-Number: 3087 Hello, I am setting up a data warehouse to hold all the various social and economic data that I use on a regular basis. I have been using ODBC to bring the data from PostgreSQL 7.3 to MS Excel 2000. Excel, the ODBC driver, or PostgreSQL itself seems to have a problem with large integer data. All of the Int8 data fields in the latest table I created do not import as integers, but as text. The Int4 fields import as numbers. The only way I can make the Int8 fields become number data is to multiply then by 1. Am I running to a Microsoft problem, a PostgreSQL problem or an ODBC problem? I have tried two different versions of the ODBC driver (I believe they are different, anyway), PostgreSQL 7.02.00.05 from Insight Distribution Systems and the PostgreSQL ODBC + Driver 1.00.00.00 from www.greatbridge.org/psqlodbcplus Does anyone have any suggestions? Thanks, Jim _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail