使用rman是遇到了一个奇怪的错误

问题:
在使用run 批处理时, 输完run { 后    回车第二行继续输入 ,当 输入一个分号 回车时就自动执行了,不知是咋回事。{:soso_e132:} {:soso_e118:}

RMAN> run  {
2> sdfsdf sdfsdf;

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found "identifier": expecting one of: "allocate, alter, backup, beginline, blockrecover, catalog, change, copy, convert, crosscheck, configure, duplicate, debug, delete, execute, endinline, flashback, host, mount, open, plsql, recover, release, replicate, report, restore, resync, set, setlimit, sql, switch, startup, shutdown, send, show, transport, validate"
RMAN-01008: the bad identifier was: sdfsdf
RMAN-01007: at line 2 column 1 file: standard input

RMAN> run  {
2> sdfsdf;


RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found "identifier": expecting one of: "allocate, alter, backup, beginline, blockrecover, catalog, change, copy, convert, crosscheck, configure, duplicate, debug, delete, execute, endinline, flashback, host, mount, open, plsql, recover, release, replicate, report, restore, resync, set, setlimit, sql, switch, startup, shutdown, send, show, transport, validate"
RMAN-01008: the bad identifier was: sdfsdf
RMAN-01007: at line 2 column 1 file: standard input
标签: 暂无标签
justfortooltest

写了 1 篇文章,拥有财富 57,被 1 人关注

转播转播 分享分享 分享淘帖
回复

使用道具

P4 | 发表于 2014-4-20 12:49:56
這不是什麼奇怪的錯誤,是你不遵守規範。run中的內容並不是可以隨便填寫的,雖然隨便填寫也無大礙
看給出的英文提示就知道了,你沒有輸入有效的rman命令
  1. expecting one of: "allocate, alter, backup, beginline, blockrecover, catalog, change, copy, convert, crosscheck, configure, duplicate, debug, delete, execute, endinline, flashback, host, mount, open, plsql, recover, release, replicate, report, restore, resync, set, setlimit, sql, switch, startup, shutdown, send, show, transport, validate"
复制代码
回复

使用道具

您需要登录后才可以回帖 登录 | 加入社区

本版积分规则

意见
反馈