Question

I have a MySql table with more than 100,000 records and would like to analyse the data in Stata. Is there any way to import the MySql table in Stata?

Was it helpful?

Solution

You can use ODBC or a plugin to directly connect Stata to MySQL; or you can export the data from MySQL (e.g. to a CSV file, via SELECT ... INTO OUTFILE or mysqldump) and then import into Stata.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top