Hi, I use delphi 7 with unidac 416 on windows XP.
How can I connect to firebird server without database for create with script SQL a new database ?
Thanks.
Giovanna Cellitti.
Firebird, connection without database
Re: Firebird, connection without database
Hello.
UniDAC provides most common interface for working with different databases.
Such database-specific function like creating a database is not provided by UniDAC.
It's better to use IBDAC components to perform such tasks, because the TIBCConnection component has the CreateDatabase method that allows to create a database without connecting to Firebird.
When using UniDAC the only way to create a database is to connect to any existing database and then execute the CREATE DATABASE statement using TUniScript. After doing this, TUniConnection will be connected to the newly created database automatically.
UniDAC provides most common interface for working with different databases.
Such database-specific function like creating a database is not provided by UniDAC.
It's better to use IBDAC components to perform such tasks, because the TIBCConnection component has the CreateDatabase method that allows to create a database without connecting to Firebird.
When using UniDAC the only way to create a database is to connect to any existing database and then execute the CREATE DATABASE statement using TUniScript. After doing this, TUniConnection will be connected to the newly created database automatically.
Re: Firebird, connection without database
Hello
You don’t need a connection to an existing database.
Set the TUniScript NoPreconnect property to true.
You don’t need a connection to an existing database.
Set the TUniScript NoPreconnect property to true.
Re: Firebird, connection without database
Hello.
Yes, you are right, the TUniScript component has the NoPreconnect property that allows to execute CREATE DATABASE commands without connecting to an existing database.
Yes, you are right, the TUniScript component has the NoPreconnect property that allows to execute CREATE DATABASE commands without connecting to an existing database.
Re: Firebird, connection without database
Hello,
I tried and it works properly, thanks to all!
Giovanna
I tried and it works properly, thanks to all!
Giovanna