m***@public-files.de
2012-11-21 12:37:50 UTC
Hi all,
When generating a modify script (for DB2)... the first drop-statement for temporary tables should not be generated.
for example:
1) drop table "tmp_TBL_PERSON"; <== NOT NEEDED!
2) create table "tmp_TBL_PERSON"...
3) insert into "tmp_TBL_PERSON"...select...from TBL_PERSON
4) drop table TBL_PERSON;
5) create table TBL_PERSON
6) insert into TBL_PERSON...select...from "tmp_TBL_PERSON"
7) drop table "tmp_TBL_PERSON";
The drop-statement at the end (see 7) can be controlled via configuration. (Dialog "Apply Model Changes to Database"; "Modify objects in the database" -> "Backup tables"->"Drop temporary tables")
BUT it seems, that you can not disable the generation of the first drop-statement (see 1).
Any help would be appreciated,
Michael
PS: I use PowerDesigner v16.1
When generating a modify script (for DB2)... the first drop-statement for temporary tables should not be generated.
for example:
1) drop table "tmp_TBL_PERSON"; <== NOT NEEDED!
2) create table "tmp_TBL_PERSON"...
3) insert into "tmp_TBL_PERSON"...select...from TBL_PERSON
4) drop table TBL_PERSON;
5) create table TBL_PERSON
6) insert into TBL_PERSON...select...from "tmp_TBL_PERSON"
7) drop table "tmp_TBL_PERSON";
The drop-statement at the end (see 7) can be controlled via configuration. (Dialog "Apply Model Changes to Database"; "Modify objects in the database" -> "Backup tables"->"Drop temporary tables")
BUT it seems, that you can not disable the generation of the first drop-statement (see 1).
Any help would be appreciated,
Michael
PS: I use PowerDesigner v16.1