linux as5下用./test.sh执行SH时报错,syntax error near unexpected token '(',请大哥大姐帮帮忙!
test.sh中的内容为:
#!/bin/sh
cd /opt/oracle/dbbak
rm -rf /opt/oracle/dbbak/dbbak.dmp
exp test/test tables=(t_test) file=/opt/oracle/dbbak/dbbak.dmp log=/opt/oracle/dbbak/dbexp.log在网上找了,但没找到解决方法。
test.sh中的内容为:
#!/bin/sh
cd /opt/oracle/dbbak
rm -rf /opt/oracle/dbbak/dbbak.dmp
exp test/test tables=(t_test) file=/opt/oracle/dbbak/dbbak.dmp log=/opt/oracle/dbbak/dbexp.log在网上找了,但没找到解决方法。
连接到: Oracle9i Enterprise Edition Release 9.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
已导出 ZHS16GBK 字符集和 AL16UTF16 NCHAR 字符集即将导出指定的表通过常规路径 ...
. . 正在导出表 ZZW_TEMP_200902 5 行被导出
在没有警告的情况下成功终止导出。
$
连接到: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
已导出 ZHS16GBK 字符集和 AL16UTF16 NCHAR 字符集即将导出指定的表通过常规路径...
. . 正在导出表 TEST导出了 0 行
你把那行命令单独执行试试。