Subject | how is the best way of create a database ? |
---|---|
Author | emisutil |
Post date | 2003-06-17T11:43:16Z |
Hello,
I am working with Delphi 7/Kylix 3 over firebird and I want to know
how is the best way of doing the next operation:
-- I have a form in which a user can create a database
-- The database must have some Tables and some records in some of
these tables.
I have thought several things,
1º With the TIBDatabase, I can create the Database and then with a
DDL and the IBScript Component I load this DDL. Then I have in a sql
Script the insert commands to load the necesary data.
2º With The IBBackupService I restore a database as i need and this
way i got the database.
3º I use the gbak to restore de database.
Any way to do this in a easier way?
I have the problem that database server is in a machine does is not
accessible from the client machines, I cant make a copy file.
thanks
I am working with Delphi 7/Kylix 3 over firebird and I want to know
how is the best way of doing the next operation:
-- I have a form in which a user can create a database
-- The database must have some Tables and some records in some of
these tables.
I have thought several things,
1º With the TIBDatabase, I can create the Database and then with a
DDL and the IBScript Component I load this DDL. Then I have in a sql
Script the insert commands to load the necesary data.
2º With The IBBackupService I restore a database as i need and this
way i got the database.
3º I use the gbak to restore de database.
Any way to do this in a easier way?
I have the problem that database server is in a machine does is not
accessible from the client machines, I cant make a copy file.
thanks