- 论坛徽章:
- 0
|
我要连接数据库做一些查询的动作,编写了一个脚本,执行后老是要退出连接,大家帮我看看是咋回事呀?
#!/bin/ksh
su - oracle <<EOF
sqlplus /nolog
connect system/manager as sysdba
......
执行后却出现以下信息
stty: tcgetattr: Not a typewriter
stty: tcgetattr: Not a typewriter
SQL*Plus: Release 9.2.0.2.0 - Production on Thu Jul 17 10:12:56 2003
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> Connected.
SQL> Disconnected from Oracle9i Enterprise Edition Release 9.2.0.2.0 - Productio
n
With the Partitioning and Real Application Clusters options
JServer Release 9.2.0.2.0 - Production |
|