title: EXPORT AS INSERT STATEMENTS: But in SQL Plus the line overrides 2500 characters!
body: <p>I have to export an Oracle table as INSERT STATEMENTS.</p>
  
  <p>But the INSERT STATEMENTS so generated, override 2500 characters.</p>
  
  <p>I am obliged to execute them in SQL Plus, so I receive an error message.</p>
  
  <p>This is my Oracle table:</p>
  
  <pre><code>CREATE TABLE SAMPLE_TABLE
  (
     C01   VARCHAR2 (5 BYTE) NOT NULL,
     C02   NUMBER (10) NOT NULL,
     C03   NUMBER (5) NOT NULL,
     C04   NUMBER (5) NOT NULL,
     C05   VARCHAR2 (20 BYTE) NOT NULL,
     c06   VARCHAR2 (200 BYTE) NOT NULL,
     c07   VARCHAR2 (200 BYTE) NOT NULL,
     c08   NUMBER (5) NOT NULL,
     c09   NUMBER (10) NOT NULL,
     c10   VARCHAR2 (80 BYTE),
     c11   VARCHAR2 (200 BYTE),
     c12   VARCHAR2 (200 BYTE),
     c13   VARCHAR2 (4000 BYTE),
     c14   VARCHAR2 (1 BYTE) DEFAULT 'N' NOT NULL,
     c15   CHAR (1 BYTE),
     c16   CHAR (1 BYTE)
  );
  </code></pre>
  
  <p>ASSUMPTIONS:</p>
  
  <p>a) I am OBLIGED to export table data as INSERT STATEMENTS; I am allowed to use UPDATE statements, in order to avoid the SQL*Plus error "sp2-0027 input is too long(>2499 characters)";</p>
  
  <p>b) I am OBLIGED to use SQL*Plus to execute the script so generated.</p>
  
  <p>c) Please assume that every record can contain special characters: CHR(10), CHR(13), and so on;</p>
  
  <p>d) I CAN'T use SQL Loader;</p>
  
  <p>e) I CAN'T export and then import the table: I can only add the "delta" using INSERT / UPDATE statements through SQL Plus.</p>