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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: