摘要: 前几天写了一个shell程序,实现了在安装了ORACLE的UNIX电脑上定时执行*.sql文件,将执行的结果输出到文件中。    可以将多条SQL语句写进*.sql文件中,每个语句以分号分隔,如下:[代码]  shell程序如下:shell脚本Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->#!/bin/cshsqlplus-S/nolog>log.log<<EOFconnscott/tigersetverifyoff;se 阅读全文
posted @ 2011-02-20 09:45 lwolf 阅读(2680) 评论(0) 推荐(0) 编辑