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]

st: Replace text in a file and save it with Stata


From   "Renger van Nieuwkoop" <renger@ecoplan.ch>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Replace text in a file and save it with Stata
Date   Mon, 20 Jun 2011 11:38:50 +0200

Hi
I use odbc to generate sql scripts. However, I have to replace the
"long" by "float".
Is there an easy way to do this in Stata (read the file, replace the
text and save it again).
Now I have to do it by hand and can not run my script from a to z.
Thanks
Renger

*
*   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