我的一位同事表示,只有当她使用Typescript
而不使用$('element').on('click mouseover', function(e) {
// your code here
});
时才会有“工作”的查询。
她无法向我提供一个例子。
据我所知,应该没有任何区别,我甚至进行了一个简单的测试:
NULL
并且正如预期的那样,他们都返回了null
。
所以在这里提出问题,使用select case when NULL is NULL then 1 else 0 end;
select case when NULL is null then 1 else 0 end;
select case when null is NULL then 1 else 0 end;
select case when null is null then 1 else 0 end;
与使用1
有何不同?
答案 0 :(得分:2)
也许她比较了字符串'NULL'
和'null'
答案 1 :(得分:0)
是: 为NULL且为null会产生与其不区分大小写相同的结果