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]
st: Re: Re: ODBC import
From
"Joseph Coveney" <[email protected]>
To
<[email protected]>
Subject
st: Re: Re: ODBC import
Date
Sat, 14 Dec 2013 11:14:56 +0900
In the SQL query, you'll need commas to separate the list of columns, and so:
local column_list : subinstr local column_list " " " B."
ought to have been
local column_list : subinstr local column_list " " ", B."
and
local sql_statement SELECT A.*, `column_list'
then becomes
local sql_statement SELECT A.* `column_list'
Joseph Coveney
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/