Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Connecting to PostgreSQL database


From   "Dimitriy V. Masterov" <dvmaster@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Connecting to PostgreSQL database
Date   Wed, 1 Aug 2012 22:26:14 -0700

Dana,

I recently went through a similar experience with a Terdata database
ODBC. My understanding is that you cannot mix 32-bit Stata with a
64-bit ODBC library, nor mix 64-bit Stata with a 32-bit ODBC library.
If you're getting the r(680) error, that's probably the issue.

DVM

On Wed, Aug 1, 2012 at 1:55 PM, Dana Chandler <dchandler@gmail.com> wrote:
> I forgot to mention the odbc used: I tried it with both a PostgreSQL
> ANSI(x64) driver and PostgreSQL Unicode(x64)
>
> -Dana
>
>
> On Wed, Aug 1, 2012 at 1:52 PM, Dana Chandler <dchandler@gmail.com> wrote:
>> Hello,
>>
>> I'm using Windows (64-bit) with STATA/SE 11.2 for Windows (32-bit) and
>> am trying to connect to a postgresql database.
>>
>> I added the database to odbc and it shows up as a datasource when I
>> type odbc list... However when I type:
>>
>> odbc query "mydatabase" it says,
>> The ODBC driver reported the following diagnostics
>> [Microsoft][ODBC Driver Manager] The specified DSN contains an
>> architecture mismatch between the Driver and Application
>> SQLSTATE=IM014
>>
>> I would greatly appreciate any help!
>> *
>> *   For searches and help try:
>> *   http://www.stata.com/help.cgi?search
>> *   http://www.stata.com/support/statalist/faq
>> *   http://www.ats.ucla.edu/stat/stata/
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index