Subject | Re: [firebird-support] Create Database Process |
---|---|
Author | Martijn Tonies |
Post date | 2005-01-28T16:31:55Z |
> I had this same situation with our app.and
>
> There are 2 other approaches over using isql...
>
> 1. Use the API directly to create the database; this is the path I used,
> ultimately it's what isql uses as well. It works very well.weight
>
> 2. Ship a dummy database with your application, then connect to it first,
> then from there issue a CREATE DATABASE command, then disconnect from the
> empty one. The dummy DB compresses well so it doesn't add significant
> to your install package.You don't need to do this.
Almost any component package has a TIBDatabase/Connection/Whatever
with a method "CreateDatabase".
That should do it.
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server
Upscene Productions
http://www.upscene.com