随笔分类 -  sql

sql
摘要:http://www.cnblogs.com/insus/archive/2011/09/10/2173028.html 阅读全文
posted @ 2011-09-14 20:12 不必太用力 阅读(193) 评论(0) 推荐(0)
摘要:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--代码ALTERPROCEDURE[dbo].[VoucherOutBound_BackInsurance]--Addtheparametersforthestoredprocedurehere@IU_... 阅读全文
posted @ 2010-03-31 14:08 不必太用力 阅读(373) 评论(0) 推荐(0)
摘要:大家好,已有四个多月没写东东啦。今日抽空就说一下 Session 在 .Net v1.0/v1.1 中的存储模式。大家可在 MSDN 2003 中搜索一下 <sessionState> 即可看到关于 Web.config 中的<sessionState> 节点元素的描述,共有 Off、InProc、StateServer、SQLServer 四种模式。Off、InProc ... 阅读全文
posted @ 2009-12-24 17:25 不必太用力 阅读(259) 评论(0) 推荐(0)
摘要:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/----处理表重复记录(查询和删除)/***********************************************************************************... 阅读全文
posted @ 2009-12-16 09:21 不必太用力 阅读(260) 评论(0) 推荐(0)
摘要:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/----合并分拆表/********************************************************************************************... 阅读全文
posted @ 2009-12-16 09:19 不必太用力 阅读(462) 评论(0) 推荐(0)
摘要:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/----行列互转/*********************************************************************************************... 阅读全文
posted @ 2009-12-16 09:18 不必太用力 阅读(140) 评论(0) 推荐(0)
摘要:[代码] 阅读全文
posted @ 2009-09-11 11:18 不必太用力 阅读(143) 评论(0) 推荐(0)
摘要:select * from你的表名 a where id=(select min(id) from你的表名 where name=a.name)思想是在查询之前先把数据库表textTable中的第一行复制到sid里在去,然后让sid和下面的每一行进行比较取所有相同的行的最小的一下,也可以取最大的,结果是一样的。这样让所有的行都比较不就得到不重复的数据了吗。 阅读全文
posted @ 2009-08-31 14:37 不必太用力 阅读(240) 评论(0) 推荐(0)