Shiva Narayana wrote: > I have to write a parser in java which takes an DDL file as input and put > the tables and the fileds in an arraylist seperatly. > > Please advise me how to proceed. >
Sounds like you pretty much have the situation in hand. I don't know as I'd write the parser from scratch; something like JavaCC might be more up your alley, and there are already SQL grammars available for it. Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]