Create/Drop Database

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for InterBase & Firebird in Delphi and C++Builder
Post Reply
jerduval
Posts: 23
Joined: Mon 13 Sep 2010 08:33
Location: Colombes, France

Create/Drop Database

Post by jerduval » Mon 13 Sep 2010 08:37

Hello,
I need to create and drop a database with the dbExpress driver.
How can I do ?
When I try to do it, I need to be connected to a database first, and it's not possible when the database doesn't exist !

Regards,

AndreyZ

Post by AndreyZ » Mon 13 Sep 2010 11:41

Hello,

You can't create a database with the dbExpress driver. But you can use the IBDAC components to create a database using the TIBCConnection.CreateDatabase method.

Post Reply