Subject | Re: [firebird-support] Create Database Process |
---|---|
Author | Greg Strauss |
Post date | 2005-01-28T16:13:04Z |
I had this same situation with our app.
There are 2 other approaches over using isql...
1. Use the API directly to create the database; this is the path I used, and
ultimately it's what isql uses as well. It works very well.
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 weight
to your install package.
Greg
There are 2 other approaches over using isql...
1. Use the API directly to create the database; this is the path I used, and
ultimately it's what isql uses as well. It works very well.
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 weight
to your install package.
Greg
----- Original Message -----
From: ""Myles Wakeham"" <myles@...>
Newsgroups: egroups.ib-support
To: <firebird-support@yahoogroups.com>
Sent: Thursday, January 27, 2005 2:47 PM
Subject: [firebird-support] Create Database Process
>
> If I wish to create a new database in Firebird, do I first have to be
> connected to an existing database on a Firebird server to do this? What
> if
> the server is installed without any database files? Can I still execute a
> create database?
>
> Myles
>
> ===========================
> Myles Wakeham
> Director of Engineering
> Tech Solutions Inc.
> Scottsdale, Arizona USA
> Phone (480) 451-7440
> Web: www.techsol.org
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>