Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: database store

From   Neil Shephard <>
Subject   Re: st: database store
Date   Fri, 25 Feb 2011 10:41:10 +0000

On Thu, Feb 24, 2011 at 8:27 PM, Argyn Kuketayev
<> wrote:
> Hello
> I'm looking for the best approach to use stata with data stored in
> relational database?
> should i use external tools to download data into flat files, then
> analyse in stata?
> should i use odbc from within stata to load data into memory?

If you know SQL ( then theres no
reason not to use ODBC and take advantage of the relational nature of
the database directly from Stata.  Saves having to -merge- and
-append- individual tables in Stata and recreate the relationships
that existed in the database (as I have to do as the databases I work
with seem to have been designed purely from the data-capture
perspective and its apparently not possible/desirable to permit ODBC
connections, grrr!).


“Truth in science can be defined as the working hypothesis best suited
to open the way to the next better one.” - Konrad Lorenz

Email -
Website -
Photos -

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index