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]

st: Bug in odbc - allstring?


From   Richard Palmer-Jones <rpjstatalist@googlemail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Bug in odbc - allstring?
Date   Mon, 7 Nov 2011 17:26:17 +0000

Dear Readers

I wonder if there is a bug in odbc with the "allstring" option? I try
to load an excel worksheet which has some cells - for example -
"1,2,3" corresponding to multiple responses to a question. The cell in
the first row happens to have a "1" as only one response was recieved.
The variables in stata is all strings but the "1,2,3" type entries
are missing.

odbc load , dsn("XXX") table("YYY")  allstring lower clear

import excel works fine, so there is a work around, but it is
inconvenient that odbc appears not to.

Richard

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