Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
db_backup_restore [2020/11/24 16:56] – [Logical Backup] andonovj | db_backup_restore [2020/11/24 16:57] (current) – andonovj | ||
---|---|---|---|
Line 22: | Line 22: | ||
db2 -tvf ddl_< | db2 -tvf ddl_< | ||
db2move < | db2move < | ||
- | |||
</ | </ | ||
- | **5. Extract DDL For certain tables: | + | **5. Extract DDL For certain tables:** |
+ | |||
+ | |||
+ | <sxh bash> | ||
db2look -d dbname -f -a -e -m -t table1 table2 ... -o tablename.ddl | db2look -d dbname -f -a -e -m -t table1 table2 ... -o tablename.ddl | ||
+ | </ | ||
**6. Verify integrity on tables with check constraint :** | **6. Verify integrity on tables with check constraint :** |