Advertisement
elvidi

CLOB Comparison Test Data

Apr 6th, 2011
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PL/SQL 1.42 KB | None | 0 0
  1. CREATE TABLE COMPARE_FILE_TEST
  2. (
  3.   id       NUMBER NOT NULL,
  4.   old_file CLOB,
  5.   new_file CLOB
  6. );
  7.  
  8. INSERT INTO COMPARE_FILE_TEST
  9. (id,
  10. old_file,
  11. new_file
  12. )
  13. VALUES
  14. (1,
  15.  'A
  16. A
  17. A
  18. This part of the
  19. document has stayed the
  20. same from version to
  21. version.  It shouldn''t
  22. be shown if it doesn''t
  23. change.  Otherwise, that
  24. would not be helping to
  25. compress the size of the
  26. changes.
  27.  
  28. This paragraph contains
  29. text that is outdated.
  30. It will be deleted in the
  31. near future.
  32.  
  33. It is important to spell
  34. check this dokument. On
  35. the other hand, a
  36. misspelled word isn''t
  37. the end of the world.
  38. Nothing in the rest of
  39. this paragraph needs to
  40. be changed. Things can
  41. be added after it.
  42. Z
  43. Z
  44. Z',
  45. 'A
  46. A
  47. A
  48. This is an important
  49. notice! It should
  50. therefore be located at
  51. the beginning of this
  52. document!
  53.  
  54. This part of the
  55. document has stayed the
  56. same from version to
  57. version.  It shouldn''t
  58. be shown if it doesn''t
  59. change.  Otherwise, that
  60. would not be helping to
  61. compress anything.
  62.  
  63. It is important to spell
  64. check this document. On
  65. the other hand, a
  66. misspelled word isn''t
  67. the end of the world.
  68. Nothing in the rest of
  69. this paragraph needs to
  70. be changed. Things can
  71. be added after it.
  72.  
  73. This paragraph contains
  74. important new additions
  75. to this document.
  76. Z
  77. Z
  78. Z');
  79.  
  80. INSERT INTO COMPARE_FILE_TEST
  81. (id,
  82. old_file,
  83. new_file
  84. )
  85. VALUES
  86. (1,
  87. '1
  88. 2
  89. 3
  90. 9
  91. 8
  92. 2
  93. 3
  94. 4
  95. 5
  96. 6',
  97. '1
  98. 2
  99. 3
  100. 4
  101. 5
  102. 6
  103. 7
  104. 8
  105. 9
  106. 10');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement