NC311_UPDATE_ORA.sql 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. --
  2. -- Licensed Materials - Property of IBM
  3. --
  4. -- BI and PM: JSM
  5. --
  6. -- (c) Copyright IBM Corp. 2003, 2010.
  7. --
  8. -- US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  9. --
  10. -------------------------------------------------------------------------------
  11. -- NC311_UPDATE_ORA.SQL *DO NOT EDIT* Data Store Version: 311
  12. -------------------------------------------------------------------------------
  13. -------------------------------------------------------------------------------
  14. --$100-- backup create begin
  15. -------------------------------------------------------------------------------
  16. -------------------------------------------------------------------------------
  17. --$110-- backup inserts begin
  18. -------------------------------------------------------------------------------
  19. -------------------------------------------------------------------------------
  20. --$130-- views drop begin
  21. -------------------------------------------------------------------------------
  22. -------------------------------------------------------------------------------
  23. --$140-- tables drop begin
  24. -------------------------------------------------------------------------------
  25. -------------------------------------------------------------------------------
  26. --$200-- recreate tables begin
  27. -------------------------------------------------------------------------------
  28. ALTER TABLE NC_TASK_HISTORY_DETAIL ADD SEVERITY INTEGER;
  29. ALTER TABLE NC_TASK_HISTORY_DETAIL ADD CLASSTYPE CHAR(128);
  30. CREATE GLOBAL TEMPORARY TABLE NC_TMP_PAGING (
  31. STOREID CHAR(33),
  32. SEVERITY INTEGER
  33. ) ON COMMIT PRESERVE ROWS;
  34. -------------------------------------------------------------------------------
  35. --$202-- primary keys add begin
  36. -------------------------------------------------------------------------------
  37. -------------------------------------------------------------------------------
  38. --$210-- views create begin
  39. -------------------------------------------------------------------------------
  40. -------------------------------------------------------------------------------
  41. --$220-- server data inserts begin
  42. -------------------------------------------------------------------------------
  43. INSERT INTO NC_DB_VERSION (DB_VERSION_ID,BUILD) VALUES(311,'build no.');
  44. -------------------------------------------------------------------------------
  45. --$230-- restore inserts begin
  46. -------------------------------------------------------------------------------
  47. -------------------------------------------------------------------------------
  48. --$250-- backup drop begin
  49. -------------------------------------------------------------------------------
  50. -------------------------------------------------------------------------------
  51. --$260-- end sql by function
  52. -------------------------------------------------------------------------------
  53. -- END NC311_UPDATE_ORA.SQL * DO NOT EDIT *
  54. -------------------------------------------------------------------------------