码迷,mamicode.com
首页 >  
搜索关键字:when    ( 7148个结果
CTCI 3.3
Imagine a (literal) stack of plates. If the stack gets too high, it might topple. Therefore, in real life, we would likely start a new stack when the ...
分类:其他好文   时间:2014-07-16 23:07:09    阅读次数:196
CTCI 3.5
Implement a MyQueue class which implements a queue using two stacks./*Use two stacks, when enqueue, first pop all the elements in stack2 on stack1, th...
分类:其他好文   时间:2014-07-16 20:39:50    阅读次数:234
【Scrapy】Selectors
Constructing selectorsFor convenience,response objects exposes a selector on .selector attribute,it's totally ok to use this shortcut when possible.//...
分类:其他好文   时间:2014-07-15 09:18:04    阅读次数:220
Spring-boot JDBC with multiple DataSources sample
Spring-Boot's auto-configurer seems good for simple applications. For example it automatically creates DataSource and JdbcTemplate, when you need to c...
分类:数据库   时间:2014-07-14 09:39:24    阅读次数:442
Lession 5-6 When you have a cold
一 生词sufferer 患者 sneeze打喷嚏 fever 发烧 nasal 鼻的 a runny nose流鼻涕 passage 一段,通道stage 阶段,舞台 aspirin阿司匹林 mutual 共同的 ailment 疾病 insomnia 失眠pace 步伐,加快 vodka 伏尔加...
分类:其他好文   时间:2014-07-13 23:54:51    阅读次数:346
SQLServer2005,2000获取表结构:字段名、类型、长度、主键、非空、注释
SQLServer 2005 SELECT d.name N'TableName', d.xtype N'TableType', a.colorder N'ColumnIndex', a.name N'ColumnName', (case when COLUMNPROPERTY( a.id,a.na...
分类:数据库   时间:2014-07-13 08:58:15    阅读次数:197
Oracle获取表结构信息:表名、是否视图、字段名、类型、长度、非空、主键
select a.TABLE_NAME as "TableName", case when (select count(*) from user_views v where v.VIEW_NAME =a.TABLE_NAME )>0 then 'V' else 'U'end as "TableTyp...
分类:数据库   时间:2014-07-13 00:44:11    阅读次数:308
统计信息不准导致执行计划出错跑不出结果,优化后只要1分钟
一天查看数据库长会话,发现1个sql跑得很慢,1个多小时不出结果,花了点时间把它给优化了。 优化前: SELECT 20131023, "A2"."ORG_ID", COUNT(DISTINCT NLSSORT(CASE "A2"."RES_TYPE" WHEN 'DP' THEN ...
分类:其他好文   时间:2014-07-12 23:48:46    阅读次数:217
wpf 只在window是ShowDialog打开时才设置DialogResult
//only set DialogResult when window is ShowDialog before if(System.Windows.Interop.ComponentDispatcher.IsThreadModal) m_Ow...
分类:Windows程序   时间:2014-07-12 13:29:39    阅读次数:361
CTCI 3.3
Imagine a (literal) stack of plates. If the stack gets too high, it might topple. Therefore, in real life, we would likely start a new stack when the ...
分类:其他好文   时间:2014-07-12 08:24:00    阅读次数:258
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!