You can use dbschema and DB–Access to save the schema from a database and then re-create the schema in another database. A dbschema output file can contain the statements for creating an entire database.
dbschema -d db > db.sql
You can also use the -ss option to generate server-specific information:
dbschema -d db -ss > db.sql
dbaccess - db.sql
When you use db.sql to create a database on a different database server, confirm that dbspaces exist.
The databases db and testdb differ in name but have the same schema.
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]