JOIN 样本 **********************************Update 结存 set 结存.现有库存=c.入仓数-b.出仓数量from 结存 ajoin (select 物料代码,sum(isnull(入仓数,0)) 入仓数 from 进仓 group by 物料代码) c...
分类:
数据库 时间:
2014-07-16 23:06:29
阅读次数:
259
footer固定到页面底部 这是头部 left sidebar main content right sudebar footer section
分类:
Web程序 时间:
2014-07-16 21:53:42
阅读次数:
323
语言:Python描述:使用递归实现 1 def getList(self, node): 2 if node is None: 3 return [] 4 5 if node.left is None and node.right ...
分类:
其他好文 时间:
2014-07-16 21:37:16
阅读次数:
174
1. 复制N个字符 String.prototype.repeat = function(num){ return (new Array(++num)).join(this);}var a = 'A';a.repeat(5); //'AAAAA'2. 替代if…else…var result;res...
分类:
Web程序 时间:
2014-07-16 21:33:45
阅读次数:
256
相对偏移 指定left top等属性就能够够完美控制一个元素的位置 如:position:relative; left:2px;今天遇到一个很好玩的问题,当两个并排浮动框,当一个框的长度太大时就会把另一个框顶到下一行,这个时候就可以用margin-right:-2px;将右外距设置为负数来解决!cs...
分类:
Web程序 时间:
2014-07-16 21:23:45
阅读次数:
245
landscape水平翻转false不自动翻转手机像素分辨率和电脑正常分辨率不一样,看起来特别小//stage.align = StageAlign.TOP_LEFT;//stage.scaleMode = StageScaleMode.NO_SCALE;这两句不写的话,就会默认居中,放大至全屏。
分类:
移动开发 时间:
2014-07-16 20:31:47
阅读次数:
209
1、通过Join方法,暂停当前线程Thread secondThread = new Thread(new ThreadStart(ThreadMethod));secondThread.Start();...secondThread.Join();2、通过启动APM异步操作的方法,得到一个IAsy...
分类:
编程语言 时间:
2014-07-13 11:36:56
阅读次数:
234
Problem Description:
Given a linked list, reverse the nodes of a linked list k at a time and return its modified list.
If the number of nodes is not a multiple of k then left-out nodes in the...
分类:
其他好文 时间:
2014-07-12 19:00:26
阅读次数:
235
Given a binary tree, determine if it is a valid binary search tree (BST).
Assume a BST is defined as follows:
The left subtree of a node contains only nodes with keys less than the node's key.Th...
分类:
其他好文 时间:
2014-07-12 17:26:31
阅读次数:
256
1、问题:原来将源码放在根目录下面
编译过程中出现了 no space left on device
利用df -h 命令查看 根目录空间占用完毕
2、将源码改在其他空间很足的地方编译
在make module_install 还是出现no space left on device
但是该目录下面的空间很足
,继续df -h
根目录满了
3解决方法
将根目录中的不用的文...
分类:
其他好文 时间:
2014-07-12 17:19:42
阅读次数:
205