NC901_UPDATE_MS.sql 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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. -- NC901_UPDATE_MS.SQL *DO NOT EDIT* Data Store Version: 901
  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. DROP INDEX NC_TSE_STATE_MAP.X_NC_TSE_STATE_MAP
  27. go
  28. DROP INDEX NC_TSE_STATE_MAP.XI_NC_TSE_STATE_MAP
  29. go
  30. -------------------------------------------------------------------------------
  31. --$200-- recreate tables begin
  32. -------------------------------------------------------------------------------
  33. -------------------------------------------------------------------------------
  34. --$201-- indices create begin
  35. -------------------------------------------------------------------------------
  36. -------------------------------------------------------------------------------
  37. --$202-- primary keys add begin
  38. -------------------------------------------------------------------------------
  39. -------------------------------------------------------------------------------
  40. --$210-- views create begin
  41. -------------------------------------------------------------------------------
  42. -------------------------------------------------------------------------------
  43. --$220-- server data inserts begin
  44. -------------------------------------------------------------------------------
  45. -------------------------------------------------------------------------------
  46. --$230-- restore inserts begin
  47. -------------------------------------------------------------------------------
  48. INSERT INTO NC_DB_VERSION (DB_VERSION_ID,BUILD) VALUES(901, 'build no.')
  49. go
  50. -------------------------------------------------------------------------------
  51. --$250-- backup drop begin
  52. -------------------------------------------------------------------------------
  53. -------------------------------------------------------------------------------
  54. --$260-- end sql by function
  55. -------------------------------------------------------------------------------
  56. -- END NC901_UPDATE_MS.SQL * DO NOT EDIT *
  57. -------------------------------------------------------------------------------