dbUpgrade0_99997-to-0_99998_mssqlserver.sql 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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 CMOBJPROPS31 (
  12. CMID int not null,
  13. ASAUDITLVL tinyint null,
  14. BRSAUDITLVL tinyint null,
  15. CMSAUDITLVL tinyint null,
  16. CSAUDITLVL tinyint null,
  17. DISPAUDITLVL tinyint null,
  18. DSAUDITLVL tinyint null,
  19. EMSAUDITLVL tinyint null,
  20. JSAUDITLVL tinyint null,
  21. MDSAUDITLVL tinyint null,
  22. MMPDFSAUDITLVL tinyint null,
  23. MMSAUDITLVL tinyint null,
  24. MSAUDITLVL tinyint null,
  25. MTEAUDITLVL tinyint null,
  26. PSAUDITLVL tinyint null,
  27. RSAUDITLVL tinyint null,
  28. SSAUDITLVL tinyint null,
  29. BRSAUDITNATIVEQRY bit null,
  30. RSAUDITNATIVEQRY bit null,
  31. constraint PK_CMOBJPROPS31 primary key (CMID)
  32. )
  33. INSERT INTO CMOBJPROPS31(CMID) SELECT CMID FROM CMOBJECTS WHERE (CLASSID = 4) OR (CLASSID = 14) OR (CLASSID = 34) OR (CLASSID = 83) OR (CLASSID = 65) OR (CLASSID = 47) OR (CLASSID = 74) OR (CLASSID = 84) OR (CLASSID = 79) OR (CLASSID = 88) OR (CLASSID = 70) OR (CLASSID = 100) OR (CLASSID = 99) OR (CLASSID = 92) OR (CLASSID = 101) OR (CLASSID = 59) OR (CLASSID = 25) OR (CLASSID = 24)
  34. !MigrateAuditLevels
  35. !RunCMScript CMUpgradeScript_configuration_update_1.xml