Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: Connecting to PostgreSQL database


From   "Dimitriy V. Masterov" <[email protected]>
To   [email protected]
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 <[email protected]> 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 <[email protected]> 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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index