Subject | |
---|---|
Author | Mª José Sempere |
Post date | 2004-12-29T17:17:49Z |
Hello,
I'd like to create a firebird database using ADO or ADOX libraries.
First I tried with ADO (as I do when I work with SQL Server):
If I'm working With SQL Server I do the following steps:
1 . Open an ADODB connection against the server (without
opening any database in particular)
2. Execute a comand "Create Database ..."
I can't do that with Firebird, because it doesn't let me open a
connection without opening a database at the same time. And if a open a
database, and try to execute a "create database ..." it answers me that
a database is already openened.
Second I tried with ADOX (as I do if I work with Access):
I try to execute a ADOX.Catalog.Create instruction, but the provider
(LCPI.IBProvider ) answers that "the interface is not compatible"
Can anybody help me? I don't want to use a .net provider, because I'm
programming unmanaged code.
Thank you very much for your help
I'd like to create a firebird database using ADO or ADOX libraries.
First I tried with ADO (as I do when I work with SQL Server):
If I'm working With SQL Server I do the following steps:
1 . Open an ADODB connection against the server (without
opening any database in particular)
2. Execute a comand "Create Database ..."
I can't do that with Firebird, because it doesn't let me open a
connection without opening a database at the same time. And if a open a
database, and try to execute a "create database ..." it answers me that
a database is already openened.
Second I tried with ADOX (as I do if I work with Access):
I try to execute a ADOX.Catalog.Create instruction, but the provider
(LCPI.IBProvider ) answers that "the interface is not compatible"
Can anybody help me? I don't want to use a .net provider, because I'm
programming unmanaged code.
Thank you very much for your help