SP2-0027: Input is too long (> 2499 characters) – line ignored

Maximum length of command line sql script is 2499 characters.

Sometimes execute SQL scripts from SQL*PLUS, then  get below error:

SP2-0027: Input is too long (> 2499 characters) - line ignored

WORKAROUND

  1. To make one line sql script into different lines, which have less than 2500 characters fir each line.
  2. Use tools like SQL Developer, which does not have 2500 characters limitation.
Advertisement