![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I'm working on a porting project: an old native Oracle Database application will be converted to IBM DB2 (task quite finished). My environment is DB2 9.7FP5 on CentOS 5.6 x64, I converted about 200 PL/SQL stored procedure to DB2 PL, now I would like to move all SP to a test system for poerformance measures. How can I massively export all my SP and import them in the test system (a script I mean)? Test system is same version of mine but on AIX. Thanks in advance --- Posted via news://freenews.netfront.net/ - Complaints to news (AT) netfront (DOT) net --- |
#3
| |||
| |||
|
|
dblook -d <db-name> -td@ -e -a > db2look.sql |
#4
| |||
| |||
|
|
Should be: db2look -d<db-name> -td@ -e -a> db2look.sql |
#5
| |||
| |||
|
|
On 23/11/2011 12:29, Mark A wrote: Should be: db2look -d<db-name> -td@ -e -a> db2look.sql Many thanks for fast response =) The working command line for me is: db2look -cor -u db2inst1 -z db2inst1 -td @ -e -d $DB -o $DB.sql but I would like to NOT include in my DDL some item: - schema occurs ex: "DB2INST1".table_name - string "SET CURRENT SCHEMA = "DB2INST1"@" - string "SET CURRENT PATH = "SYSIBM", "SYSFUN", "SYSPROC"" and so on - no tablespace in table DDL ex: "IN USERSPACE1" - no index options ex: "COMPRESS NO ALLOW REVERSE SCANS" "PCTREE 10" - no explain objects.. auto search & replace via bash script ? Ideas ? |
![]() |
| Thread Tools | |
| Display Modes | |
| |