My Oracle Support Banner

Running APEX-related SQL Scripts on SQL*Plus returns SP2-0341 error (Doc ID 2780716.1)

Last updated on JUNE 02, 2021

Applies to:

Oracle Application Express (APEX) - Version 20.2 and later
Information in this document applies to any platform.

Symptoms

On : APEX 20.2 version, Administration

When attempting to run APEX-generated script using SQL*Plus,
the following error occurs.

ERROR
-----------------------
SP2-0341:
line overflow during variable substitution (>3000 characters at line 885)
Error 45 initializing SQL*Plus


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Run a script generated from APEX or an APEX patch in SQL*Plus


Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.