Is there anyone who can help me create a loop from this:
set more off
clear all
foreach x of numlist 2/3 6 {
*display `x'
odbc load, table("individus") noquote ///
conn("DRIVER={MySQL ODBC 8.0 Unicode Driver};SERVER=localhost;DATABASE=enq_tab_00`x';UI D=Christophe;PWD=Christmaevahope;") clear
save "D:\FTHM_DEP_RDC\LISUNGI\RSU\WAMPSERVER\enq_tab\in dividus_enq_tab_00`x'.dta", replace
}
*
foreach x of numlist 12 23 27 53 58 60 64 71 79 82 85 87 90 98 {
*display `x'
odbc load, table("individus") noquote ///
conn("DRIVER={MySQL ODBC 8.0 Unicode Driver};SERVER=localhost;DATABASE=enq_tab_0`x';UID =Christophe;PWD=Christmaevahope;") clear
save "D:\FTHM_DEP_RDC\LISUNGI\RSU\WAMPSERVER\enq_tab\in dividus_enq_tab_0`x'.dta", replace
}
*
foreach x of numlist 100 108 116 127 134 142 {
*display `x'
odbc load, table("individus") noquote ///
conn("DRIVER={MySQL ODBC 8.0 Unicode Driver};SERVER=localhost;DATABASE=enq_tab_`x';UID= Christophe;PWD=Christmaevahope;") clear
save "D:\FTHM_DEP_RDC\LISUNGI\RSU\WAMPSERVER\enq_tab\in dividus_enq_tab_`x'.dta", replace
}
Please help me, please.
Related Posts with Request for help
new version of stdtable package available on SSCThanks to Kit Baum an update of the package, stdtable, is now available from SSC. It can be installe…
Twoway line for tabulated resultsHello Everyone! I am using stata 16 and my data us the demographic health survey women's module. I …
spoiler[SPOILER]Lets try this[/SPOILER] …
Oprobit and marginsplotWe are running an oprobit for a 5-category dependent variable (Y) and would like to have a marginal …
Optimal cutoff lroc curve after probitDoes anyone know how to get the optimal cutoff point of lroc curve after a probit estimation? …
Subscribe to:
Post Comments (Atom)
0 Response to Request for help
Post a Comment