Page 1 of 1

Create/Drop Database

Posted: Mon 13 Sep 2010 08:37
by jerduval
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,

Posted: Mon 13 Sep 2010 11:41
by AndreyZ
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.