上一页 1 ··· 70 71 72 73 74 75 76 77 78 ··· 81 下一页
摘要: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML Strict//EN"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><html xmlns="http://www.w3.org/1999/xhtml"><head> <style> * { padding-bottom: 0px; margin: 0px; padding-left: 0 阅读全文
posted @ 2011-02-27 15:43 星火卓越 阅读(284) 评论(0) 推荐(0)
摘要: Using System.Reflection #region Product internal static Downmoon.Product.Framework.Components.Product LoadSingleProduct(IDataReader reader) { Downmoon.Product.Framework.Components.Product m_Product = new Downmoon.Product.Framework.Components.Product(); Type type = m_Product.GetType(); for (int i = 0 阅读全文
posted @ 2011-02-27 15:39 星火卓越 阅读(315) 评论(0) 推荐(0)
摘要: --获得当月天数 select day(dateadd(mm,1,getdate())-day(getdate())) as 本月天数 ; select getdate() as 当前日期; select day(getdate()) as 目前第几天; select getdate()-day(g 阅读全文
posted @ 2011-02-21 15:50 星火卓越 阅读(686) 评论(0) 推荐(0)
摘要: DECLARE @WorkDate DATETIMESET @WorkDate='2010-2-20'select DATEDIFF(YY,@WorkDate,GETDATE()),DATEDIFF(MM,@WorkDate,GETDATE()),DATEDIFF(d,@WorkDate,GETDATE()),case when DATEADD(year,DATEDIFF(YY,@WorkDate,GETDATE()),@WorkDate)>GETDATE()-1 THEN DATEDIFF(YY,@WorkDate,GETDATE())-1ELSE DATEDIFF(YY,@WorkD 阅读全文
posted @ 2011-02-21 14:41 星火卓越 阅读(205) 评论(0) 推荐(0)
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-CN" lang="zh-CN"><head> <title>Model</title> <meta http-equiv="Content-Type" content="text 阅读全文
posted @ 2011-02-21 00:12 星火卓越 阅读(2251) 评论(0) 推荐(1)
摘要: script var fun = function(){ alert("bbcccccc"); } function exeu(funname){ funname(); } exeu(fun); /script 阅读全文
posted @ 2011-01-25 21:43 星火卓越 阅读(509) 评论(0) 推荐(0)
摘要: 以下方法绝对可行。 regsvr32 shimgvw.dll regsvr32 scrobj.dll regsvr32 shell32.dll regsvr32 scrrun.dll ------------------------------------------------------------------------------------------------解决"automation 服务器不能创建对象"的方法今天冲浪发现我的IE在使用一些网页功能时出现"automation 服务器不能创建对象",按照网上说的方法做了也不行,最后在IE出错时使用了脚本调试,发现网页使用了ado 阅读全文
posted @ 2011-01-24 11:25 星火卓越 阅读(876) 评论(0) 推荐(0)
摘要: !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"html xmlns="http://www.w3.org/1999/xhtml"head meta http-equiv="Content-Type" content="text/html; charset=gb2312" / titleTable Style/title style type="text/css" .myTabl 阅读全文
posted @ 2011-01-21 14:41 星火卓越 阅读(259) 评论(0) 推荐(0)
摘要: 1 useAdventureWorks2 select id,object_name(id) as tableName,indid,rows,rowcnt3 from sys.sysindexes where indid in(0,1) 阅读全文
posted @ 2010-12-20 21:02 星火卓越 阅读(141) 评论(0) 推荐(0)
摘要: 查询表内容SELECT 表名=case when a.colorder=1 then d.name else '' end,表说明=case when a.colorder=1 then isnull(f.value,'') else '' end,字段序号=a.colorder,字段名=a.name,标识=case when COLUMNPROPERTY( a.id,a.name,'IsIdentity')=1 then '√'else '' end,主键=case when exists(SELECT 1 FROM sysobjects where xtype='PK' and name 阅读全文
posted @ 2010-12-20 20:39 星火卓越 阅读(303) 评论(0) 推荐(0)
上一页 1 ··· 70 71 72 73 74 75 76 77 78 ··· 81 下一页