SQLServer(sqlplus中host命令出現(xiàn)lsSQL)

字號:

-- 奇怪 sqlplus中 host命令出現(xiàn)lsSQL
    SQL> host
    lsSQL>
    SQL>
    SQL>
    除了lsSQL>提示外,沒有什么反應(yīng),為什么?
    當(dāng)然,退出后重新進(jìn)入,又可以正常使用HOST命令了.
    Examda提示產(chǎn)生原因: 在host之前,使用了clea scre命令.
    重演如下:
    E:>sqlplus /nolog
    SQL*Plus: Release 9.2.0.6.0 - Production on Wed Oct 15 09:57:39 2008
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    SQL> host
    E:>exit
    SQL> clea scre
    SQL> host
    lsSQL> dir
    SP2-0042: unknown command "dir" - rest of line ignored.
    SQL>