Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re: ODBC plus Excel column labels with a # sign

From (Kevin Turner)
Subject   st: Re: ODBC plus Excel column labels with a # sign
Date   Tue, 25 Oct 2005 16:09:25 -0500

Steichen, Thomas J. ( writes:

>I'd rather, though, handle this as part of the load command so I tried to
>use the variable renaming feature of load. This yields an error:
>    . odbc load subjnum=subj# appearance=appearance#, ///
>      dsn("Temp PPXREF") table("ppxref$") lowercase clear
>    variable subj not found
>     r(683);

This is a limitation of the extended varlist parsing used in -odbc load- and
will be addressed in the next executable update. 

You might be able to import them via a SQL convert/rename, but I haven't had
any luck with the Excel ODBC driver supporting such syntax. Your best option
may be to use -rename- until the next update.

--Kevin Turner

*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index