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, statalist.org is already up and running.


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

Re: st: ODBC: drop down menu vs. command line


From   Thomas Speidel <thomas@tmbx.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   Re: st: ODBC: drop down menu vs. command line
Date   Wed, 22 Feb 2012 11:46:52 -0700

That's what I was missing!  I suppose using the drop down menu approach
estabilishes the connection to the selected database before the rest of the command is issued.

WISHLIST FOR STATA:
Is it possible in the future to include the dsn("") option when the command is generated as a result of using the drop down menu approach of selecting an odbc data source?


On Wed, 22 Feb 2012 12:58:27 -0500, Dimitriy V. Masterov wrote:

Thomas,

I think you need to include your dsn name like this:

odbc load, dsn("DSN_NAME") table("PrePostControlBloodIds") clear
lowercase noquote

Let us know if that does not fix it.

DVM
*
* For searches and help try:
* http://www.stata.com/help.cgi?search [1]
* http://www.stata.com/support/statalist/faq [2]
* http://www.ats.ucla.edu/stat/stata/ [3]

--
Thomas Speidel


Links:
------
[1] http://www.stata.com/help.cgi?search
[2] http://www.stata.com/support/statalist/faq
[3] http://www.ats.ucla.edu/stat/stata/
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index