NC17_UPDATE_MS.sql 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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. -- NC17_UPDATE_MS.SQL *DO NOT EDIT* Data Store Version: 17
  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. -------------------------------------------------------------------------------
  29. --$201-- indices create begin
  30. -------------------------------------------------------------------------------
  31. CREATE INDEX I1N_DELIV_ADR ON NC_DELIVERYADDRESS (
  32. FK_RECIPIENT_ID)
  33. go
  34. CREATE INDEX I3R_NEWSITEMS_NCOB ON R_NEWSITEMS_NCOBJECTS (
  35. FK_NCID, NID)
  36. go
  37. -------------------------------------------------------------------------------
  38. --$202-- primary keys add begin
  39. -------------------------------------------------------------------------------
  40. -------------------------------------------------------------------------------
  41. --$210-- views create begin
  42. -------------------------------------------------------------------------------
  43. -------------------------------------------------------------------------------
  44. --$220-- server data inserts begin
  45. -------------------------------------------------------------------------------
  46. INSERT INTO NC_DB_VERSION (DB_VERSION_ID,BUILD) VALUES(17,'build no.')
  47. go
  48. -------------------------------------------------------------------------------
  49. --$230-- restore inserts begin
  50. -------------------------------------------------------------------------------
  51. -------------------------------------------------------------------------------
  52. --$250-- backup drop begin
  53. -------------------------------------------------------------------------------
  54. -------------------------------------------------------------------------------
  55. --$260-- end sql by function
  56. -------------------------------------------------------------------------------
  57. -- END NC17_UPDATE_MS.SQL * DO NOT EDIT *
  58. -------------------------------------------------------------------------------