Nuno Magalhães írta:
> I have a text file with a bunch of "CREATE TABLE" statements. I can't
> run it with executeUpdate nor with preparedStatement. At most i'll get
> the first table created, so i assume JDBC/SQLite parses the ;. Is
> there an easy way to do this?
>   
You can only run only a single query, like with most of the databases. 
(Sorry my english).
But I think you must create schema only a few time, so the easiest way 
is using an SQLite manager tool, like SQLiteSpy in Windows. (Copy+paste 
your code there and press F9.)

Best regards,
Máté.

-- 
„Navigare necesse est”

FARKAS Máté
http://fmate14.try.hu/


--~--~---------~--~----~------------~-------~--~----~
Mailing List: http://groups.google.com/group/sqlitejdbc?hl=en
To unsubscribe, send email to [email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to