2015年9月2日

Shell for&while 循环详细总结

摘要: #!/usr/bin/ksh#数字段形式for i in {1..10}do echo $idone#详细列出(字符且项数不多)for File in 1 2 3 4 5 do echo $File done #对存在的文件进行循环for shname in `ls *.sh`do name=`... 阅读全文

posted @ 2015-09-02 14:57 TouTou9055 阅读(282) 评论(0) 推荐(0) 编辑

oracle spool

摘要: 关于SPOOL(SPOOL是SQLPLUS的命令,不是SQL语法里面的东西。) 对于SPOOL数据的SQL,最好要自己定义格式,以方便程序直接导入,SQL语句如:select taskindex||'|'||commonindex||'|'||tasktype||'|'||to_number(to_... 阅读全文

posted @ 2015-09-02 14:07 TouTou9055 阅读(285) 评论(0) 推荐(0) 编辑

导航