Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

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

Re: st: Missing (partial) records from ODBC load command

From   Austin Nichols <>
Subject   Re: st: Missing (partial) records from ODBC load command
Date   Thu, 23 Feb 2012 16:25:49 -0500

Ron Pi <>:
I hope that's not your real password you just posted on the internet.
May I suggest 314159265 instead?

You may want to contact Stata tech support directly on this one.

On Thu, Feb 23, 2012 at 4:12 PM, Pi, Ron <> wrote:
> Dear all,
> I've been using the -odbc load- command as a routine to extract data from a network database for many years, from Stata/SE 8 to my the Stata/MP 11 (running on Window 7, 64 bit). When it runs smoothly, as has been the case until recently, the process takes about 15 minutes to extract roughly 4 million records. Below is the command in a do-file that executes the extract.
> odbc load if stat_year==2011, exec("SELECT COURT_ID, SUMMARY_STATISTIC, STAT_MONTH, STAT_YEAR, ROW_ORDER") dsn("jbsis ") dialog(complete) user(ron) password(pi) lower
> Recently the same command appears to extract the data with a big chunk of the records missing (about 10%), with no obvious pattern in the missing records. There were no warnings at the end of finishing the do-file. Memory does not appear to be the problem, as the extract file in Stata is less than 100 MB and the memory was set at 400 MB at the beginning of the process.
> I wonder if anyone has had similar experiences, has any suggestions as to the source of the problem, or how to diagnose the problem?
> Thanks,
> Ron

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index