I want to initialise my database on app startup from a file containing quite a lot of SQL.
I can't find any way of executing multiple statements at once. SQLiteDatabase.execSQL() is restricted to running *one* statement at a time. I know the SQLite library is capable of doing this; is there any way of accessing this from Java? (Right now I have a very simple parser that splits the input file up into statements by looking for ; characters, but as I'm about to start needing triggers that will fail.) -- ┌─── dg@cowlark.com ───── http://www.cowlark.com ───── │ │ "They laughed at Newton. They laughed at Einstein. Of course, they │ also laughed at Bozo the Clown." --- Carl Sagan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---