博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

05 2016 档案

摘要:获取指定日期所在月份的日期列表 declare @date datetime set @date='2009-03-05' select [day]=convert(varchar,DATEADD(mm,DATEDIFF(mm,0,@date),0)+number,112) from master. 阅读全文

posted @ 2016-05-13 08:47 preface小贝

摘要:Date.prototype.format=function (){var s='';s+=this.getFullYear()+'-';// 获取年份。s+=(this.getMonth()+1)+"-"; // 获取月份。s+= this.getDate(); // 获取日。return(s); 阅读全文

posted @ 2016-05-12 11:31 preface小贝

摘要:Web Service基本概念 Web Service也叫XML Web Service WebService是一种可以接收从Internet或者Intranet上的其它系统中传递过来的请求,轻量级的独立的通讯技术。是:通过SOAP在Web上提供的软件服务,使用WSDL文件进行说明,并通过UDDI进 阅读全文

posted @ 2016-05-07 16:47 preface小贝

摘要:execute相信大家都用的用熟了,简写为exec,除了用来执行存储过程,一般都用来执行动态Sql sp_executesql,sql2005中引入的新的系统存储过程,也是用来处理动态sql的, 如: exec sp_executesql @sql, N'@count int out,@id var 阅读全文

posted @ 2016-05-03 19:31 preface小贝

摘要:SQL Server数据库ROW_NUMBER()函数的使用是本文我们要介绍的内容,接下来我们就通过几个实例来一一介绍ROW_NUMBER()函数的使用。 实例如下: 1.使用row_number()函数进行编号,如 select email,customerID, ROW_NUMBER() ove 阅读全文

posted @ 2016-05-03 19:25 preface小贝