Db2 How To Create Database In Instance
db2 how to create database in instance
db2 Database ddl and data export
I have a database named test on a redhat linux 6.1 enviroment. I need a command to generate the whole DDL of the database. Everything ranging from tables, views, privileges, procedures, triggers, constraints, referential integrity.
Is it possible and if so what will be the command. I know it will use dblook but I have been unable to run it.Also I need to know will this command create DDL of all the tables including the Syscat tables and tablesspaces?
Expert Oracle Database Architecture: 9i and 10g Programming Techniques and SolutionsLearn more
Thomas Kyte
And how will I use it to create the database on the other instance. Will I first manually create a database and then use this ddl or will it automatically create a Database.
Also I need to export all the data of the database. Basically, I need the ddl to create the database in another instance and then use the exported data to populate the newly created database.
I know we can directly export the whole database but I need these perform these 2 steps separately
0 件のコメント:
コメントを投稿
登録 コメントの投稿 [Atom]
<< ホーム