Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: merge multiple database


From   "Yun Liu" <[email protected]>
To   [email protected]
Subject   st: merge multiple database
Date   Wed, 11 Apr 2007 19:41:36 -0400

Hi, I am trying to merge multiple database and keep specific variables
from each of the using files.
I type "merge id using db1 db2, keep(var1 var2)".  var1 is in db1 and
var2 is in db2. But stata gives an error message: "variable var2 not
found in using dataset." Please help. Thank you!
*
*   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/



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