【DM版本】:DM8
【操作系统】:麒麟7
【CPU】:x86
【问题描述】*:sh脚本执行sql脚本出现问题,显示
输入 index的值:输入 index的值:输入 index的值:
sh
disql ${USERNAME}/${PASSWORD}@${HOSTNAME}:${PORT} << EOF spool $init_script_base_path/log.log app start $sqlfile$filename spool off exit EOF
语句放到管理工具中执行就没问题,是不是触发了disql中的什么命令?
sql脚本中第一行加上
set define off;
关闭变量定义