ANS3_UPDATE_Hsql.sql 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. --
  2. -- Licensed Materials - Property of IBM
  3. --
  4. -- BI and PM: ANS
  5. --
  6. -- (c) Copyright IBM Corp. 2016.
  7. --
  8. -- US Government Users Restricted RigANS - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  9. --
  10. -------------------------------------------------------------------------------
  11. -- ANS3_UPDATE_Hsql.SQL *DO NOT EDIT* Data Store Version: 3
  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. DROP INDEX ANN_CONTEXT.I_NN_CTXT_COMPID;
  35. ALTER TABLE ANN_CONTEXT ALTER COLUMN compID VARCHAR(512);
  36. CREATE INDEX I_NN_CTXT_COMPID ON ANN_CONTEXT (compID);
  37. -------------------------------------------------------------------------------
  38. --$210-- views create begin
  39. -------------------------------------------------------------------------------
  40. -------------------------------------------------------------------------------
  41. --$220-- server data inserts begin
  42. -------------------------------------------------------------------------------
  43. -------------------------------------------------------------------------------
  44. --$230-- restore inserts begin
  45. -------------------------------------------------------------------------------
  46. -------------------------------------------------------------------------------
  47. --$250-- backup drop begin
  48. -------------------------------------------------------------------------------
  49. -------------------------------------------------------------------------------
  50. --$260-- end sql by function
  51. -------------------------------------------------------------------------------
  52. -- END ANS3_UPDATE_Hsql.SQL * DO NOT EDIT *
  53. -------------------------------------------------------------------------------