码迷,mamicode.com
首页 >  
搜索关键字:where case when    ( 36516个结果
When Things Get Very Creative With The Iconic Bags
Although laptop bags shoulder should be well prepared, should not be too great because it allows you to move freely in the laptop. If it is possible t...
分类:其他好文   时间:2014-05-16 04:37:59    阅读次数:440
Html.DropDownList 选中 mvc view 弱类型
List listGroup = sysGroupBll.Where(o => o.IsSb == true, o => o.Id).ToList(); List items = new List(); foreach (var group in listGroup) { items.Add(new...
分类:Web程序   时间:2014-05-16 03:30:39    阅读次数:401
SQL判断是否存在符合某条件的记录
IF EXISTS ( --判断是否存在合符条件的记录 SELECT TOP ( 1 ) 1 FROM [DCL].[SecurityUser] WHERE [U...
分类:数据库   时间:2014-05-15 20:51:00    阅读次数:336
sql 语句 插入结果为select 和值混合
String slctpsql="select id ,"+uid+","+ddd+","+score+",'"+mark+"' ,"+markid+" ,"+exam.getId()+" from Test_Paper where testBaseId=(select id from Test_Base where baseTestId="+judgemap.get(i).getId()+" a...
分类:数据库   时间:2014-05-15 20:36:45    阅读次数:434
HDU 2795 Billboard (RE的可以看一看)
Problem Description At the entrance to the university, there is a huge rectangular billboard of size h*w (h is its height and w is its width). The board is the place where all possible announcement...
分类:其他好文   时间:2014-05-15 19:48:31    阅读次数:348
android.os.BadParcelableException: ClassNotFoundException when unmarshalling:解决办法
例如在用AlarmManager的时候 1 AlarmManager alarmMgr = (AlarmManager) mContext 2 .getSystemService(Context.ALARM_SERVICE); 3 Intent int...
分类:移动开发   时间:2014-05-15 17:40:14    阅读次数:414
sql dateDiff函数
当月的数据select * from MOPICK where dateDiff(m,getdate(),START_DATE)=0
分类:数据库   时间:2014-05-15 11:37:10    阅读次数:562
Leetcode:Climbing Stairs 斐波那契数
戳我去解题You are climbing a stair case. It takesnsteps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct ways can you ...
分类:其他好文   时间:2014-05-15 01:55:06    阅读次数:251
switch语句
switch 语句int x = 10switch(x) case 1:print(“sfsd”)breakcase 2:print(“dsdf”)breakdefaultprint(“right”)break
分类:其他好文   时间:2014-05-14 23:47:11    阅读次数:263
SQL中的Truncate Table
SQL中的Delete语句从表中删除一条或多条记录,同时可以给Delete语句提供Where子句,SQL中的Select语句中可以使用的任何条件都可以在DELECT的WHERE子句中使用。Delete语句的语法格式是:DELETE[FROM]{table_name|view_name}[WHEREcondition]。如果不给Delete语句指定Where子句,..
分类:数据库   时间:2014-05-14 17:33:44    阅读次数:332
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!