2012年11月20日

oracle 不支持 =和!=

摘要: -- Created on 2012/11/20 by JWW declare -- Local variables here i integer := 2; j integer := 2; k varchar2(60); op varchar2(45);begin -- Test statements here k := ''; if (i = j and k = '') then --能不能输出 op := 'k = ""有结果'; else op := 'k is null有结果'; end if;end 阅读全文

posted @ 2012-11-20 23:37 lovebeauty 阅读(537) 评论(0) 推荐(0) 编辑

javascript -window与document 待整理

摘要: window对象和document对象的区别一般来讲,一个window里就是一个document,但是,iframe里面也可以装个document,在iframe里面就有区别了alert(document.location===window.location);//true不要混淆Window对象的location属性和Document对象的location属性。前者引用一个Location对象,而后者只是一个只读字符串,并不具有Location对象的任何特性。document.location与document.URL是同义的,后者在JavaScript1.1中是该属性的首选名称(因为这样避 阅读全文

posted @ 2012-11-20 00:30 lovebeauty 阅读(7385) 评论(2) 推荐(0) 编辑

导航