- 博客(6)
- 收藏
- 关注
转载 JS,数字千分位格式化
var n="1279878236.3028233" var re=/(\d{1,3})(?=(\d{3})+(?:$|\.))/g; var n1=n.replace(re,"$1,"); document.write(n+"\r\n转成千分位后:"+n1);1279878236.3028233 转成千分位后:1,279,878,236.3,028
2012-01-13 15:22:05 605
JS,数字千分位格式化
<script type="text/javascript"> var n="1279878236.3028233" var re=/(\d{1,3})(?=(\d{3})+(?:$|\.))/g; var n1=n.replace(re,"$1,"); document.write(n+"\r\n转成千分位后:"+n1);&l...
2012-01-13 15:22:00 218
转载 JS 得到当前项目的全路径
function getRootPath() { var pathName = window.location.pathname.substring(1); var webName = pathName == '' ? '' : pathName.substring(0, pathName.indexOf('/')); return window.lo
2012-01-12 23:39:02 314
JS 得到当前项目的全路径
<script type="text/javascript"> function getRootPath() { var pathName = window.location.pathname.substring(1); var webName = pathName == '' ? '' : pathName.substring(0, path...
2012-01-12 23:39:00 217
转载 select count(*) 与 select count(1)区别?
发表于 2008-5-8 15:35:49 |只看该作者原帖由 yangfei080 于 2008-5-8 14:19 发表 我知道:select count(*)是统计表中所有记录个数 而select count(1)是返回首行后者的效率比前者要高请问:达人们能够解释下两者oracle内部实现的区别?感谢
2012-01-12 16:22:34 709
select count(*) 与 select count(1)区别?
发表于 2008-5-8 15:35:49|只看该作者原帖由yangfei080于 2008-5-8 14:19 发表我知道:select count(*)是统计表中所有记录个数而select count(1)是返回首行后者的效率比前者要高请问:达人们能够解释下两者oracle内部实现的区别?感谢!...
2012-01-12 16:22:00 179
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人