上一页 1 ··· 8 9 10 11 12 13 14 15 16 下一页
摘要: if exists(SELECT *FROM [DBPersonnel].[dbo].[TB証明書] where [社員番号]='001') update [DBPersonnel].[dbo].[TB証明書] set [身分証明書]='11' where [社員番号]='001'else INS... 阅读全文
posted @ 2016-01-19 11:11 Debugs 阅读(1260) 评论(0) 推荐(0)
摘要: //数组中最大值 最小值 function GetMax(arr) { // return Math.max.apply(null, arr); var max = arr[0]; for (var i = 0; i arr[i]) { ... 阅读全文
posted @ 2016-01-18 16:14 Debugs 阅读(163) 评论(0) 推荐(0)
摘要: ' runat="server" />function getum(fldobj) { if (fldobj 0 && qtyVal.length > 0) { $("[id$=fld_PRD_AMOUNT]").eq(i).val((parseFloa... 阅读全文
posted @ 2016-01-18 15:46 Debugs 阅读(365) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2016-01-18 14:56 Debugs 阅读(264) 评论(0) 推荐(0)
摘要: $(function () { $("#tab").datagrid({ // singleSelect: true, onLoadSuccess: compute,//加载完毕后执行计算 ... 阅读全文
posted @ 2016-01-18 14:55 Debugs 阅读(199) 评论(0) 推荐(0)
摘要: 开始日期: 结束日期: 阅读全文
posted @ 2016-01-18 14:54 Debugs 阅读(424) 评论(0) 推荐(0)
摘要: 要防止同一用户同时登陆,首页应该记录在线用户的信息(这里与用户名为例),然后判断正在登陆的用户里面是否已存在。在这里使用一个cache存放已经登陆的用户名,但是还有一个问题就是要知道用户是什么时候离开系统的呢?这就要定期清除cache中的内容了,也就是设置一个cache的时间。这个时间可以跟用户的s... 阅读全文
posted @ 2016-01-14 15:16 Debugs 阅读(488) 评论(0) 推荐(0)
摘要: drop table x gocreate table x(id varchar(10))--insert into x values('A001')gowith a as (select ISNULL(max(id),'A0000') maxid from x) insert into x (i... 阅读全文
posted @ 2015-12-21 16:31 Debugs 阅读(554) 评论(0) 推荐(0)
摘要: 内存: 4 Gos: windows 2003数据库: ms sql server 2008目的: 查询性能测试,比较两种查询的性能SQL查询效率 step by step-- setp 1.-- 建表create table t_userinfo(userid int identity(1,1) ... 阅读全文
posted @ 2015-12-18 14:08 Debugs 阅读(2204) 评论(0) 推荐(0)
摘要: /// /// 计算两个日期的时间间隔,返回的是时间间隔的日期差的绝对值. /// /// 第一个日期和时间 /// 第二个日期和时间 /// private string DateDiff(D... 阅读全文
posted @ 2015-12-14 18:50 Debugs 阅读(864) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 15 16 下一页