NC312_UPDATE_MS.sql 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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. -- NC312_UPDATE_MS.SQL *DO NOT EDIT* Data Store Version: 312
  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. --$202-- primary keys add begin
  30. -------------------------------------------------------------------------------
  31. -------------------------------------------------------------------------------
  32. --$203-- alter tables begin
  33. -------------------------------------------------------------------------------
  34. ALTER TABLE NC_SCHEDULE ADD PERIODICAL_PRODUCER_ID CHAR(33)
  35. go
  36. -------------------------------------------------------------------------------
  37. --$210-- views create begin
  38. -------------------------------------------------------------------------------
  39. -------------------------------------------------------------------------------
  40. --$220-- server data inserts begin
  41. -------------------------------------------------------------------------------
  42. INSERT INTO NC_DB_VERSION (DB_VERSION_ID,BUILD) VALUES(312,'build no.')
  43. go
  44. -------------------------------------------------------------------------------
  45. --$230-- restore inserts begin
  46. -------------------------------------------------------------------------------
  47. -------------------------------------------------------------------------------
  48. --$250-- backup drop begin
  49. -------------------------------------------------------------------------------
  50. -------------------------------------------------------------------------------
  51. --$260-- end sql by function
  52. -------------------------------------------------------------------------------
  53. -- END NC312_UPDATE_MS.SQL * DO NOT EDIT *
  54. -------------------------------------------------------------------------------