码迷,mamicode.com
首页 >  
搜索关键字:where case when    ( 36516个结果
JavaScript Patterns 2.2 - Minimizing Globals
This blog post introduces the problem with Globals, Side Effect when Forgetting var, Access the Global Object, Single var Pattern and Hoisting: A prob...
分类:编程语言   时间:2014-05-20 01:30:31    阅读次数:404
VLV INDEX
Normally, when the Directory Server conducts a search, the server looks through the entire entry for a match, throughout the entire directory. For lar...
分类:其他好文   时间:2014-05-20 01:23:35    阅读次数:277
hust 1422 Candy!
题目描述Halloween is coming! So xiaoY has to prepare M candies to treat the neighbor kids.When this horrible night come, There are N little children ask x...
分类:其他好文   时间:2014-05-19 22:40:32    阅读次数:412
oracle琐碎笔记
Oracle知识点 ps:由于是自己看的所以笔记比较乱,大家谅解CommitrollbackSql核心语句之selectSelct中要用到以下语句From语句Where语句Groupby语句Groupby来进行分组,分组的参数如果有重复的,只返回一个行值.(比如我按id分组如果记录中有两个id为1....
分类:数据库   时间:2014-05-19 22:37:42    阅读次数:492
规则引擎
写了个简单的规则引擎,普通情况够用了:比如2家公司有各自的利率计算规则,如下:在C#方面,没有写在C#的业务逻辑代码中,而是移到了外部规则文件中,如(ACompanyRatePolicy.r):rule "Level 1" when alreadyCostPrice >= 0 ...
分类:其他好文   时间:2014-05-19 22:32:33    阅读次数:350
SEGGER J-Link install
Why J-Link?In case you wonder why GNU ARM Eclipse decided to provide support to SEGGER J-Link, the short answer is:because ofJ-Link EDUand of SWO.The ...
分类:其他好文   时间:2014-05-17 14:43:56    阅读次数:907
数据库封装
把下面页面封装名字为dbhelper.php 页面 1 封装dbhelper.php调用方法,增、删、查、改 数据库里表的数据1include("dbhelper.php");2 $r = mysql_bind("select * from users where userName=? and pa...
分类:数据库   时间:2014-05-17 14:20:23    阅读次数:313
LeetCode 011 Container With Most Water
【题目】 Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of line i is at (i, ai) and (i, 0). Find two lines, which together with x-axis forms a contain...
分类:其他好文   时间:2014-05-16 01:32:47    阅读次数:406
Sql decode sign when length concat 用法详述
案例1:查询表A数据,如果某个列(PARAM_VALUE)值太长,前台不好显示,就只取前20个字符;鼠标悬浮时再用层显示全部值; sql写法: select m.PARAM_VALUE as PARAM_VALUE, decode(sign(length(m.PARAM_VALUE)-20),1,CONCAT(SUBSTR(m.PARAM_VALUE,0,20),'...'),m.PARAM...
分类:数据库   时间:2014-05-15 23:53:08    阅读次数:625
hello.hs haskell
hello.ns-- 创建模块 Main 首字母大写module Main where-- 导入可能用到的模块import System.Environment-- haskell 程序首先会执行 Main模块的 main action-- main :: IO () 是type 声明, 这里可省略...
分类:其他好文   时间:2014-05-15 22:21:02    阅读次数:334
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!