dta2sql - command-line tool to convert Stata 8 and Stata 10 .dta files to a SQL dump
dta2sql file.dta [otherfile.dta ...]
The result will be in file.sql (or file-1.sql, file-2.sql, etc; no overwriting of existing files).
Minimal documentation, error management and testing. All types of missing values in the .dta file are turned into NULLs. Probably some other problems.
This code comes with ABSOLUTELY NO WARRANTY of any kind.
Copyright 2007, 2008, 2014 Reckon LLP and Franck Latrémolière. http://www.reckon.co.uk/staff/franck/
This is free software; you can redistribute it and/or modify it under the same terms as Perl.
Parse::Stata::DtaReader does the parsing.
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in 'Latrémolière.'. Assuming UTF-8
To install Parse::Stata::DtaReader, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Parse::Stata::DtaReader
CPAN shell
perl -MCPAN -e shell install Parse::Stata::DtaReader
For more information on module installation, please visit the detailed CPAN module installation guide.