摘要:利用存储过程来消除数据库中冗余的数据create procedure sp_mytest asdeclare @pro varchar(50)declare @mm intdeclare wu cursor for select distinct product from mytestopen wufetch next from wu into @prowhile @@fetch_status=0......
摘要:two of the bits in the flags register that add and sub instructions set are overflow and carry flag:
overflow flag: set for signed arithmetic when the ture result is too big to fit into the destinati......
结构型模式--心得结构型强调的是1+1〉2,即充分利用现有的类或者对象,通过合理的组装,达到意想不到(其实是迫切想达到)的效果.
【程序编程相关:
[系列第1篇]《中国共享软件如何进军国际】
1.adapter.这个基本上现有的系统中都或多或少的会用到.因为,一部分的结构是根据自己的系统制定的,另一方面利用平台提供的类库,mfc .net等等.想把这两个结合起来使用,必然要使用适配器模式拉.这里面主要是区分类适配与对象适配.即继承还是组合拉,都差不多.好比现有一个类可以计算两个数值的加减.那么有一个计算方差的类就可以利用这个类进行方差计算拉. 【推荐阅读:如何控制其他程序窗体上的窗口控件:下】
【扩展信息:
程序员,你的路好走吗?(五)】2.bridge模式.这个模式业界最大的用处是利用它进行平台无关化设计.我们一般在讲设计的时候,一定会有抽象与实现的概念出来.抽象就是为了不同的实现,灵活性就是这个拉.但是每个实现都离不开平台特性的.最明显的就是画图或者网络同性.绝对无法通用的....
下一页 摘要:instruction: cmp
comparing by subtraction
for unsigned numbers:
2 bits in the flags register
zf cf = 1 0 > 0 0 < 0 1
for signed numbers:
3 bits in the flags register
zf of sf = 1 0 0 ......