FireBird Embedded - Create a New Database
Posted: Tue 17 Dec 2013 17:01
Hello Everyone,
I have a need to be able to create a database in the Embedded Firebird database engine - using my delphi program.
The problem I have is that I seem to need a database to connect to - before I can run any SQL commands
However, the UniConnection component won't connect to the Firebird FBEmbed.dll without an existing database. But that is the DB I want to create.
I suppose I could ship an empty database that I could connect to - but that sort of defeats the purpose of what I am trying to do (make this program self sufficient).
How do others deal with this issue? Is there a way around it?
thank you for any input.
G. Bradley MacDonald
I have a need to be able to create a database in the Embedded Firebird database engine - using my delphi program.
The problem I have is that I seem to need a database to connect to - before I can run any SQL commands
I suppose I could ship an empty database that I could connect to - but that sort of defeats the purpose of what I am trying to do (make this program self sufficient).
How do others deal with this issue? Is there a way around it?
thank you for any input.
G. Bradley MacDonald