1.包含null的表达式都为空 select salary*12+nvl(bonus,0) nvl是虑空函数 2. null值永远!=null select * from emp where bonus=null 得到的结果是0行被选中 正确的写法是 is null 或者 is not null 3.如果集合中含有null,不能使用not in 但是可以使用in 4.null值的排序,在降序中null值是排在最前面的 因为oracle中默认null值是最大 解决的办法 sel
WPF绑定功能非常方便,有时候点击某值时在另t一处显示此值的另一表现形式或调用其对应的其它值,用WPF值转换功能会很方便,下面就一LISTBOX和TEXTBLOCK控件,把LISTBOX中的值转换成除以1000后的结果显示在TextBlock中 1.值转换类: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Data; namesp