Veit Grote ([email protected]) writes:
>I just realised that - odbc load - with the option - clear - seems not to
>clear the labels of the data set in memory. Running the do-file twice is
>producing an error "label already defined". The short copy of the result
>window is below. I am using up-to-date Stata 8.2 Intercooled.
>Veit
As confusing as this initially appears, the behavior is intended. Since the
-odbc load- command does not generate any value labels, it also does not clear
existing value labels. This allows incoming values to be conveniently labeled
with any previously defined labels. This same behavior can also be witnessed
with other commands, such as -infile- and -insheet-. To drop existing value
labels, these commands need to be preceded with a -label drop- or -clear-
command.
Hope this clarifies the issue,
--Kevin
[email protected]
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/