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 at the end of May, and its replacement, statalist.org is already up and running.


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

st: problem with odbc


From   Valerie Orozco <Valerie.Orozco@toulouse.inra.fr>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   st: problem with odbc
Date   Mon, 9 Aug 2010 09:13:07 +0000

Hi,

I would like to import data from several sheets in several Excel files.
I tested the odbc command on one computer and it worked fine (using the "dsn" and "table" options).
Now, I just have tested it on a new computer and it doesn't work, but when typing "odbc list" I see Excel files.
What's the problem? 

. odbc list

Data Source Name                   Driver
-------------------------------------------------------------------------------
dBASE Files                        Microsoft Access dBASE Driver (*.dbf, *.ndx
Excel Files                        Microsoft Excel Driver (*.xls, *.xlsx, *.xl
MS Access Database                 Microsoft Access Driver (*.mdb, *.accdb)
-------------------------------------------------------------------------------

. odbc query "Excel Files"
The ODBC driver reported the following diagnostics
[Microsoft][Gestionnaire de pilotes ODBC] La source de données (DSN) spécifiée présente une incompatibilité
d'architecture entre le pilote et l'application
SQLSTATE=IM014
r(682);


Thank you for your help.

Valérie


-------------------------------
Valérie OROZCO
Toulouse School of Economics (INRA-GREMAQ)
21, allée de Brienne
F-31000 Toulouse, France

MA 101
+33 5 61 12 85 91
-------------------------------


*
*   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