NC15_UPDATE_MS.sql 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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. -- NC15_UPDATE_MS.SQL *DO NOT EDIT* Data Store Version: 15
  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. DROP TABLE NC_JMSQUEUE
  26. go
  27. -------------------------------------------------------------------------------
  28. --$200-- recreate tables begin
  29. -------------------------------------------------------------------------------
  30. CREATE TABLE NC_JMSQUEUE (
  31. QUEUE_ENTRY_ID INTEGER NOT NULL,
  32. QUEUE_NAME NVARCHAR(50),
  33. QUEUE_ENTRY IMAGE,
  34. SDS_INSTANCE_ID CHAR (32),
  35. DATE_ENTERED NUMERIC NOT NULL
  36. )
  37. go
  38. -------------------------------------------------------------------------------
  39. --$202-- primary keys add begin
  40. -------------------------------------------------------------------------------
  41. -------------------------------------------------------------------------------
  42. --$210-- views create begin
  43. -------------------------------------------------------------------------------
  44. -------------------------------------------------------------------------------
  45. --$220-- server data inserts begin
  46. -------------------------------------------------------------------------------
  47. INSERT INTO NC_DB_VERSION (DB_VERSION_ID,BUILD) VALUES(15,'build no.')
  48. go
  49. -------------------------------------------------------------------------------
  50. --$230-- restore inserts begin
  51. -------------------------------------------------------------------------------
  52. -------------------------------------------------------------------------------
  53. --$250-- backup drop begin
  54. -------------------------------------------------------------------------------
  55. -------------------------------------------------------------------------------
  56. --$260-- end sql by function
  57. -------------------------------------------------------------------------------
  58. -- END NC15_UPDATE_MS.SQL * DO NOT EDIT *
  59. -------------------------------------------------------------------------------