Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Reconstruction control file error

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

SQL > CREATE CONTROLFILE REUSE DATABASE "EMREP" NORESETLOGS FORCE LOGGING ARCHIVELOG

2 MAXLOGFILES 16

3 MAXLOGMEMBERS 3

4 MAXDATAFILES 100

5 MAXINSTANCES 8

6 MAXLOGHISTORY 292

7 LOGFILE

8 GROUP 1'/ u01 SIZE SIZE 50m

9 GROUP 2'/ u01 SIZE SIZE 50m

10 GROUP 3'/ u01 SIZE SIZE 50m

11-- STANDBY LOGFILE

twelve

SQL > DATAFILE

SP2-0042: unknown command "DATAFILE"-rest of line ignored.

SQL >'/ u01scarp appAccord oradataSystem01.dbf'

SP2-0734: unknown command beginning "/ u01 rest of line ignored.

SQL >'/ u01qqappActionoradata 'EMREPscarundotbs01.dbf'

SP2-0734: unknown command beginning "/ u01 rest of line ignored.

SQL >'/ u01qqappActionoradataGrease EMREPscarp sysaux01.dbf'

SP2-0734: unknown command beginning "/ u01 rest of line ignored.

SP2-0044: For a list of known commands enter HELP

And to leave enter EXIT.

SQL >'/ u01qqappActionoradataGrease EMREPscarpusers01.dbf'

SP2-0734: unknown command beginning "/ u01 rest of line ignored.

SQL >'/ u01qqappAccord oradataUniplicEMREPeryexample01.dbf'

SP2-0734: unknown command beginning "/ u01 rest of line ignored.

SQL >'/ u01qqappActionoradata'EMREPUniple goldengate01.dbf'

SP2-0734: unknown command beginning "/ u01 rest of line ignored.

SQL >'/ u01qqapp.oracleUnixoradataandEMREPscargguser.dbf'

SP2-0734: unknown command beginning "/ u01 rest of line ignored.

SP2-0044: For a list of known commands enter HELP

And to leave enter EXIT.

Solution:

SQL > set sqlbl on

The above error is caused because we have a blank line in the script when we execute the script.

The following is an explanation of the documents from here:

SET SQLBL [ANKLINES] {ON | OFF}

SET SQLBLANKLINES is not supported in iSQL*Plus

Controls whether SQL*Plus puts blank lines within a SQL command or script. ON interprets blank lines and new lines as part of a SQL command or script. OFF, the default value, does not allow blank lines or new lines in a SQL command or script or script.

Enter the BLOCKTERMINATOR to stop SQL command entry without running the SQL command. Enter the SQLTERMINATOR character to stop SQL command entry and run the SQL statement

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report