使用批处理执行文件sql时,如果出现用户名、密码或者tns错误会提示如下信息等待键盘输入,有什么办法不等待键盘输入直接退出批处理呢?
SQL*Plus: Release 11.2.0.1.0 Production on Wed May 8 11:14:15 2013Copyright (c) 1982, 2009, Oracle.  All rights reserved.ERROR:
ORA-12154: TNS:could not resolve the connect identifier specified
Enter user-name: 
ERROR:
ORA-12546: TNS:permission denied
Enter user-name: 
ERROR:
ORA-12546: TNS:permission denied
SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plusoracle sqlplus