Re: Re: Writing a parser
| From: | Pierre-Alain Joye | Date: | Wed, 10 Jul 2002 12:01:35 +0000 |
| Subject: | Re: Re: Writing a parser | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-7627@lists.php.net to get a copy of this message | ||
On Wed, 10 Jul 2002 08:59:50 -0300
Manuel Lemos <mlemos@acm.org> wrote:
> > And I m very interested about a method to generate a schema from sql create statements (in
> > a file) without the use of a parser.
>
> Just query the database for schema metadata information. Doing it with
> from SQL create statements is inadequate.
Yes, sometimes you cannot access the DB host directly and/or do not have one available. That's
why doing it from a sql file is usefull, but not ideal.
ap