1、case…when…then的使用select case brand_id when 1 then '三星' when 2 then '苹果' else '小米' end as brand_id from ecs_goods
分类:
数据库 时间:
2015-05-29 15:27:09
阅读次数:
138
1,-webkit-font-smoothing:css3中用于webkit引擎中设置字体的抗锯齿、增加光滑度的属性。none用于小像素文本;subpixel-antialiased浏览器默认反锯齿;antialiased反锯齿。
2,-webkit-gradient(直线/放射状,色1中心坐标,色1半径,色2中心坐标,色2半径,from(#000000),to(#ffffff)),调色链接ht...
分类:
Web程序 时间:
2015-05-29 14:07:01
阅读次数:
123
from:http://www.wxwdesign.cn/article/skills/javascript_typeof_instanceof.htmJavaScript中typeof和instanceof常用来判断一个变量是否为空,或者是什么类型的。但它们之间还是有区别的:typeoftypeo...
分类:
编程语言 时间:
2015-05-29 13:42:24
阅读次数:
108
题目:Given a 2D board and a word, find if the word exists in the grid.The word can be constructed from letters of sequentially adjacent cell, where "adj...
分类:
其他好文 时间:
2015-05-29 13:39:20
阅读次数:
117
续上一篇随笔:Upgrade site collection from SP2010 to SP2013(Part 1)Create a web application which can't include any site collection in order to let it as our...
分类:
其他好文 时间:
2015-05-29 13:35:35
阅读次数:
171
1 #define INF 0x7f7f7f7f 2 int vis[N]; 3 int d[N]; 4 int num_nodes; 5 int q[n*2]; 6 int pre[N]; 7 8 struct node 9 {10 int from,to,next,w;11 }e[1...
分类:
其他好文 时间:
2015-05-29 13:32:02
阅读次数:
81
--读取库中的所有表名select name from sysobjects where xtype='u'--读取指定表的所有列名select name from syscolumns where id=(select max(id) from sysobjects where xtype='u'...
分类:
数据库 时间:
2015-05-29 13:31:47
阅读次数:
148
在ORM框架大行其道的今天,对于.net行业的人,想要学好EF,那Linq的学习在势在必行啊。今天总结下平时比较常用的表连接的用法。Inner Join Linq:1 var list = (from c in customerDb.Order2 ...
分类:
数据库 时间:
2015-05-29 13:28:50
阅读次数:
167
分析一,转自独奏的同名Blog ??????今天调试程序时在Debug版跳出这个错误,我程序根本没设置断点,而其好像说是我的堆有问题,而编译了个Release版本运行正常,后来google下,查到如下解释: ??????说...
分类:
其他好文 时间:
2015-05-29 12:24:20
阅读次数:
115
from??subprocess?import?Popen?可以看到Popen类的方法 ? 从Python?2.4开始,Python引入subprocess模块来管理子进程,以取代一些旧模块的方法:如?os.system、os.spawn*、os.popen*、popen2.*、commands....
分类:
编程语言 时间:
2015-05-29 12:22:44
阅读次数:
206