Bookmark and Share

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


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

Re: st: database store


From   Neil Shephard <nshephard@gmail.com>
To   statalist@hsphsun2.harvard.edu
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
<akuketayev@mail.primaticsfinancial.com> 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 (http://en.wikipedia.org/wiki/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!).

Neil



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

Email - nshephard@gmail.com
Website - http://kimura.no-ip.org/
Photos - http://www.flickr.com/photos/slackline/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


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