NC307_UPDATE_MS.sql 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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. -- NC307_UPDATE_MS.SQL *DO NOT EDIT* Data Store Version: 307
  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_TASK
  35. ADD LOCATION_ROOT NVARCHAR(256)
  36. go
  37. ALTER TABLE NC_TASK
  38. ADD OBJECT_CLASS NVARCHAR(256)
  39. go
  40. ALTER TABLE NC_TASK
  41. ADD OWNED_BY NVARCHAR(256)
  42. go
  43. ALTER TABLE NC_TASKSCHEDULE
  44. ADD PRIORITY INTEGER DEFAULT (3) NOT NULL
  45. go
  46. -------------------------------------------------------------------------------
  47. --$210-- views create begin
  48. -------------------------------------------------------------------------------
  49. -------------------------------------------------------------------------------
  50. --$220-- server data inserts begin
  51. -------------------------------------------------------------------------------
  52. INSERT INTO NC_DB_VERSION (DB_VERSION_ID,BUILD) VALUES(307,'build no.')
  53. go
  54. -------------------------------------------------------------------------------
  55. --$230-- restore inserts begin
  56. -------------------------------------------------------------------------------
  57. -------------------------------------------------------------------------------
  58. --$250-- backup drop begin
  59. -------------------------------------------------------------------------------
  60. -------------------------------------------------------------------------------
  61. --$260-- end sql by function
  62. -------------------------------------------------------------------------------
  63. -- END NC307_UPDATE_MS.SQL * DO NOT EDIT *
  64. -------------------------------------------------------------------------------