ITeye博客

sqlplus执行@sql.sql的错误

kebo · 2006-12-27 22:24 · oracle · Markdown

今天给数据库执行@spcreate.sql老是出
SP2-0734:unknown command beginning "spcreate.s..." - rest of line ignored.
郁闷坏了。经过一番折腾原来是
solution Description:
 =====================
You need to enter a valid SQL*Plus command.
In this case, you cannot start svrmgrl from within SQL*Plus,
you have to start svrmgrl from the command prompt.
This error will also occur when trying to execute a
the @ symbol is mapped to the key 'Kill' from the user's keyboard.
The way to find out the current keyboard mapping in a unix environment is using the command 'stty -a'.
The way to correct problem is to map 'Kill' to some other keyboard symbol.
The command example would be 'stty kill ^U'.
Having remapped the key you would then log into SQL*Plus and execute script.
 -------------------------------纪念一下
如果出现空行报错的话 记得执行:
SET SQLBLANKLINES ON

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。