dbUpgrade6_0017-to-6_0018_db2.sql 966 B

123456789101112131415161718192021222324252627282930
  1. -- Licensed Materials - Property of IBM
  2. --
  3. -- BI and PM: CM
  4. --
  5. -- (C) Copyright IBM Corp. 2011
  6. --
  7. -- US Government Users Restricted Rights - Use, duplication or disclosure
  8. -- restricted by GSA ADP Schedule Contract with IBM Corp.
  9. alter table CMOBJPROPS30 drop constraint PK_CMOBJPROPS30
  10. rename table CMOBJPROPS30 to CMOBJPROPS30_OLD
  11. create table CMOBJPROPS30 (
  12. CMID integer not null,
  13. HANDLE varchar(255),
  14. BINDING clob(1M),
  15. REGISTRATION clob(1M),
  16. SERVICEDESCR clob(1M),
  17. LAYOUT clob(1M),
  18. REQUIREDCAP clob(1M),
  19. CANCUSTOMIZE decimal(1,0),
  20. CONTEXT clob(1M),
  21. DEPLOYREFS clob(1M),
  22. constraint PK_CMOBJPROPS30 primary key (CMID)
  23. )
  24. insert into CMOBJPROPS30(CMID,HANDLE,BINDING,REGISTRATION,SERVICEDESCR,LAYOUT,REQUIREDCAP,CANCUSTOMIZE,CONTEXT,DEPLOYREFS) select CMID,HANDLE,BINDING,REGISTRATION,SERVICEDESCR,LAYOUT,REQUIREDCAP,CANCUSTOMIZE,CONTEXT,DEPLOYREFS from CMOBJPROPS30_OLD
  25. drop table CMOBJPROPS30_OLD