Hi Bernt, I tried this way but it seems to me that the parsing is really light ... I'd like to get a deeper parse.
Thanks Flavio > -----Messaggio originale----- > Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Inviato: mercoledì 29 novembre 2006 9.41 > A: Derby Discussion > Oggetto: Re: Use SQL parsing > > > >>>>>>>>>>>> Flavio Palumbo wrote (2006-11-29 09:11:10): > > Hi all, > > > > maybe a bit OT ... but I'd like to use the SQL parsing engine > of Derby ; my > > goal is to validate a string to say it's a correct SQL > statement, before to > > execute it. > > > > Is it possible with no headache ?? > > The easiest way is to do > > conn.prepareStatement(".....sql string......"); > > > Thank a lot. > > -- > Bernt Marius Johnsen, Database Technology Group, > Staff Engineer, Technical Lead Derby/Java DB > Sun Microsystems, Trondheim, Norway > ----------------------------------------------------------- Il presente messaggio non costituisce un impegno contrattuale tra SILMA S.r.l. ed il destinatario. Le opinioni ivi espresse sono quelle dell'autore. SILMA S.r.l. non assume alcuna responsabilita riguardo al contenuto del presente messaggio. Il messaggio è destinato esclusivamente al destinatario. Il contenuto e gli allegati sono da considerarsi di natura confidenziale Nel caso abbiate ricevuto il presente messaggio per errore siete pregati di comunicarlo alla casella [EMAIL PROTECTED]
