Re: embedded mckoi w/ sql script DDL

Rick Knowles <[email protected]> Tue, 28 Feb 2006 17:59:26 +0900
Newsgroups gmane.comp.db.mckoi
Message-ID <[email protected]>
Why not just pre-create the schema plus initial data at build time, then 
zip it up and extract the zip on first use ? That would be faster, even 
it did take an extra 50KB or so. I've done that with mckoi in previous 
cases. As long as you keep your paths relative, everything is happy.

Rick

Michael Scharber wrote:
> Is there a way to run a script with a sequence of appropriate DDL to 
> build a schema...from an embedded mckoi application?
>
> This would be the sort of thing I want to do after testing for 
> database existence, then creating the database (if necessary).  Create 
> database and build schema - on first use - sort of thing.
>
> I want to maintain the DDL not a bunch of Java code.
>
> Thanks,
>
> Michael
>
>
> ---------------------------------------------------------------
> Mckoi SQL Database mailing list  http://www.mckoi.com/database/
> To unsubscribe, send a message to [email protected]
>


---------------------------------------------------------------
Mckoi SQL Database mailing list  http://www.mckoi.com/database/
To unsubscribe, send a message to [email protected]