随笔 - 105  文章 - 5  评论 - 6  阅读 - 16万 
08 2013 档案
几条特殊的SQL语句
摘要:1, 有case情况。select trunc(exf_payment_receipt.work_date),exf_payment_receipt.exchange_code,exf_payment_receipt.bill_no,exf_payment_type.name, exf_payment_receipt.total_money,case exf_payment_receipt.status when '0' then '正常' else '已撤销' end,case exf_payment_receipt.flag when  阅读全文
posted @ 2013-08-28 15:26 houxiurong.com 阅读(241) 评论(0) 推荐(0) 编辑
Linux统计某文件夹下文件、文件夹的个数
摘要:统计某文件夹下文件的个数 ls -l |grep "^-"|wc -l统计某文件夹下目录的个数 ls -l |grep "^d"|wc -l统计文件夹下文件的个数,包括子文件夹里的 ls -lR|grep "^-"|wc -l如统计/home/han目录(包含子目录)下的所有js文件则: ls -lR /home/han|grep js|wc -l 或 ls -l "/home/han"|grep "js"|wc -l统计文件夹下目录的个数,包括子文件夹里的 ls -lR|grep " 阅读全文
posted @ 2013-08-21 13:50 houxiurong.com 阅读(243) 评论(0) 推荐(0) 编辑

< a href="http://houxiurong.com">houxiurong.com
点击右上角即可分享
微信分享提示