NC837_UPDATE_DB2.sql 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. -- IBM Confidential
  2. --
  3. -- OCO Source Materials
  4. --
  5. -- BI and PM: JSM
  6. --
  7. -- (c) Copyright IBM Corp. 2003, 2010
  8. --
  9. -- The source code for this program is not published or otherwise divested of its trade secrets, irrespective of what has been deposited with the U.S. Copyright Office.
  10. --
  11. -------------------------------------------------------------------------------
  12. -- NC837_UPDATE_DB2.SQL *DO NOT EDIT* Data Store Version: 837
  13. -------------------------------------------------------------------------------
  14. -------------------------------------------------------------------------------
  15. --$100-- backup create begin
  16. -------------------------------------------------------------------------------
  17. -------------------------------------------------------------------------------
  18. --$110-- backup inserts begin
  19. -------------------------------------------------------------------------------
  20. -------------------------------------------------------------------------------
  21. --$130-- views drop begin
  22. -------------------------------------------------------------------------------
  23. -------------------------------------------------------------------------------
  24. --$140-- tables drop begin
  25. -------------------------------------------------------------------------------
  26. -------------------------------------------------------------------------------
  27. --$200-- recreate tables begin
  28. -------------------------------------------------------------------------------
  29. -------------------------------------------------------------------------------
  30. --$201-- indices create begin
  31. -------------------------------------------------------------------------------
  32. -------------------------------------------------------------------------------
  33. --$202-- primary keys add begin
  34. -------------------------------------------------------------------------------
  35. -------------------------------------------------------------------------------
  36. --$203-- alter tables begin
  37. -------------------------------------------------------------------------------
  38. ALTER TABLE NC_TASK_QUEUE ADD COLUMN TARGET_DISPATCHER_ID CHAR(45);
  39. -------------------------------------------------------------------------------
  40. --$210-- views create begin
  41. -------------------------------------------------------------------------------
  42. -------------------------------------------------------------------------------
  43. --$220-- server data inserts begin
  44. -------------------------------------------------------------------------------
  45. INSERT INTO NC_DB_VERSION (DB_VERSION_ID, BUILD) VALUES(837, 'build no.');
  46. -------------------------------------------------------------------------------
  47. --$230-- restore inserts begin
  48. -------------------------------------------------------------------------------
  49. -------------------------------------------------------------------------------
  50. --$250-- backup drop begin
  51. -------------------------------------------------------------------------------
  52. -------------------------------------------------------------------------------
  53. --$260-- end sql by function
  54. -------------------------------------------------------------------------------
  55. -- END NC837_UPDATE_DB2.SQL * DO NOT EDIT *
  56. -------------------------------------------------------------------------------