On Fri, Sep 14, 2001 at 04:15:21PM +0800, Orlando Andico wrote:
> On Fri, 14 Sep 2001, thad phole wrote:
> > Does anyone in the group knows of any database parser
> > that dumps corresponding SQL-strings (CREATE TABLE and
> > INSERT INTO) on stdout?
>
> No need. Get yourself Perl DBI and DBD::xBase and you can read DBF files
> using SQL commands.
if you don't grok perl and want command line tools, you can get dbf
source from
ftp://gatekeeper.dec.com/pub/usenet/comp.sources.misc/volume43/dbf
if you're using debian, apt-get install dbf
caveat, the dbftools don't dump SQL statements though, but they're
good starting points. perl/python/awk/sed are your friends. ;)
--
___ eric pareja ([EMAIL PROTECTED]) - "We're all crazy. No one wants to admit it."
\@/ http://gra.ph/~xenos/xenos.pgp | http://plug.linux.org.ph [O(///)O]======+
v "Even the smallest person can change the course of the future." / Clue |
[ Chiba City: A Cyberpunk MUSH | http://chibacity.erisian.net ] +-------+
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
To subscribe to the Linux Newbies' List: send "subscribe" in the body to
[EMAIL PROTECTED]