db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernt M. Johnsen" <Bernt.John...@Sun.COM>
Subject Re: Use SQL parsing
Date Wed, 29 Nov 2006 08:41:19 GMT
>>>>>>>>>>>> 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

Mime
View raw message