摘要:
一般面向过程的写法都是写很多function,坏处:1.代码复用不好 2.函数名称容易重复冲突下面介绍面向对象的写法:在JS中每个函数function都是一个对象。比如,下面这个就是一个对象,我们在使用的时候就可以当作对象来使用。function HelloWorld(){ alert('he... 阅读全文
摘要:
1.SqlServer查询表结构:sp_help 表名2.细节注意,最后的end需要加上,完整语法:case .. when .. then .. else .. endwhere orderType = case @orderType when -1 then orderType else @or... 阅读全文