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


浙公网安备 33010602011771号