dbInitMeta_oracle.sql 986 B

1234567891011121314151617181920212223242526272829303132333435
  1. -- Licensed Materials - Property of IBM
  2. --
  3. -- BI and PM: CM
  4. --
  5. -- (C) Copyright IBM Corp. 2008, 2009
  6. --
  7. -- US Government Users Restricted Rights - Use, duplication or disclosure
  8. -- restricted by GSA ADP Schedule Contract with IBM Corp.
  9. -- Copyright (C) 2008 Cognos ULC, an IBM Company. All rights reserved.
  10. -- Cognos (R) is a trademark of Cognos ULC, (formerly Cognos Incorporated).
  11. create table CMCRYPTOKEYS (
  12. CRYPTOKEY varchar2(381) not null,
  13. CI_CRYPTOKEY varchar2(381) not null,
  14. DATA blob,
  15. constraint PK_CMCRYPTOKEYS primary key (CI_CRYPTOKEY)
  16. );
  17. create table CMCAKEYS (
  18. CAKEY varchar2(381) not null,
  19. CI_CAKEY varchar2(381) not null,
  20. DATA blob,
  21. constraint PK_CMCAKEYS primary key (CI_CAKEY)
  22. );
  23. create table CMCAPROPS (
  24. PROPNAME varchar2 (50) NOT NULL,
  25. PROPINTVALUE number(10) default(0) NOT NULL,
  26. PROPVALUE clob NULL,
  27. CONSTRAINT PK_CMCAPROPS PRIMARY KEY (PROPNAME)
  28. );
  29. INSERT INTO CMCAPROPS (PROPNAME, PROPINTVALUE, PROPVALUE) VALUES ('FRESHNESS', 0, NULL);