Subject Re: [firebird-support] Creating a database using DSQL
Author Norman McFarlane
Thanks Alan,
Kinda obvious I guess. Except it fails if you supply a user id and password, but succeeds if you do not. Uses the default sysdba and masterkey.
Thanks again. dunno why I missed that!
Regards,
Norman

----- Original Message -----
From: Alan McDonald
To: firebird-support@yahoogroups.com
Sent: Monday, November 17, 2008 12:21 PM
Subject: RE: [firebird-support] Creating a database using DSQL


> IB Express components in Delphi 5
>
From the IB Help:

Applies to

TIBDatabase

Declaration

procedure CreateDatabase

Description

The CreateDatabase method will attempt to create an InterBase database as
specified by the DatabaseName property. You must provide a UserName and
Password, and the IBDatabase component must be closed before calling
CreateDatabase.

If for some reason the database creation fails, an exception will be raised.

Alan






------------------------------------------------------------------------------



No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.175 / Virus Database: 270.9.4/1793 - Release Date: 11/16/2008 7:58 PM


[Non-text portions of this message have been removed]