IDEAS home Printed from
   My bibliography  Save this paper

Working with ODBC data sources in Stata--tips and techniques


  • Joseph Coveney

    (Cobridge Co., Ltd.)


With its suite of ODBC-related commands, Stata may now be used directly with many popular database management systems (DBMSs) and other ODBC data sources. Stat/Transfer's ODBC capabilities have permitted indirect access for some time. ODBC has advantages over copy-and-paste or save-as/insheet operations for reproducibility of the analysis and for documentation of its trail of events. The suite's ability to use Structured Query Language statements also facilitates use of DBMSs for storage and organization of massive sets of data, while economizing on memory during analysis with Stata by limiting what is loaded into the active dataset to only pertinent rows and columns. This presentation will briefly review the suite, and then, using a case study approach, it will illustrate the use of this suite in solutions to selected data management problems, for example, when clients deliver data for analysis in spreadsheets laid out in an unfavorable manner, or when datasets are delivered in ill-designed relational databases or in those that are subject to frequent updating. The presentation will also share tips and precautions from experience with its use with two popular spreadsheet and database packages, and give pointers on using ODBC data sources that contain text in double-byte character sets (Unicode).

Suggested Citation

  • Joseph Coveney, 2004. "Working with ODBC data sources in Stata--tips and techniques," North American Stata Users' Group Meetings 2004 10, Stata Users Group.
  • Handle: RePEc:boc:asug04:10

    Download full text from publisher

    To our knowledge, this item is not available for download. To find whether it is available, there are three options:
    1. Check below whether another version of this item is available online.
    2. Check on the provider's web page whether it is in fact available.
    3. Perform a search for a similarly titled item that would be available.

    More about this item


    Access and download statistics


    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:boc:asug04:10. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F Baum (email available below). General contact details of provider: .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.