随笔 - 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
阅读全文
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 "
阅读全文