Re: Re: Writing a parser

From: Date: Wed, 10 Jul 2002 11:59:50 +0000
Subject: Re: Re: Writing a parser
References: 1 2 3 4 5 6  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-7626@lists.php.net to get a copy of this message
Hello, On 07/10/2002 04:42 AM, Pierre-Alain Joye wrote:
Personally I just do a parser only for the structure definition. Next the struct can be compared with another struct or export to a different DB ( here comes mdb ) from a xml schema definition.
You don't need a SQL parser for this. Just use database specific schema metadata query functions and thats all. That is what Metabase schema reverse engineering support does.
afaik mdb reverse engineering does not work with sql files, or ?
Of course not.
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. -- Regards, Manuel Lemos

« previous php.pear.dev (#7626) next »