My Oracle Support Banner

Execution Of SQL File SQL*Plus Utility Causes SP2-734 SP2-44 (Doc ID 752411.1)

Last updated on NOVEMBER 25, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.1 to 10.2.0.4 [Release 10.2]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

NOTE: In the images and/or the document content below, the user information and environment data used represents fictitious data from the Oracle sample or bulit-in schema(s), Public Documentation delivered with an Oracle database product or other training material. Any similarity to actual environments, actual persons, living or dead, is purely coincidental and not intended in any manner.

 

The SQL file test.sql is generated by the DataPump import utility with parameter SQLFILE to extract the DDLs from export dump file:

#> impdp scott/tiger dumpfile=scott.dmp log=scottimp.log directory=dir sqlfile=test.sql


In SQLFILE you find line feeds and blank lines like this:

SUBPARTITION "<PARTITION1>" VALUES
(5841)                                      --> line feed
SUBPARTITION "<PARTITION2>" VALUES(5842)
                                            --> blank line
tablespace "TEST_TS"


If you run the file test.sql in SQL*Plus, then you receive the errors:

SQL>@test.sql

SQL> SUBPARTITION "<PARTITION1>" VALUES (5841)
SP2-0734: Unbekannter Befehl ab "SUBPARTITI..." - restliche Zeile ignoriert.
SP2-0044: Zum Auflisten bekannter Befehle HELP
und zum Verlassen EXIT eingeben.
SQL> TABLESPACE "TEST_TS",

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.