SQLServer PadLeft,PadRight
摘要:需要自定义Function,代码如下:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--CreateFunctionPadLeft(@OriginalStringvarchar(20),@PaddingCharchar(1),@TotalLength...
阅读全文
posted @
2010-11-15 15:06
一路前行
阅读(1183)
推荐(0) 编辑
JavsScript补字符PadRight,PadLeft
摘要:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->functionpadLeft(str,lenght){if(str.length>=lenght)returnstr;elsereturnpadLeft("0"+str,lenght);}functionpadRight(str,lenght){if(str.length>=lenght)returnstr;elsereturnpadRight(str+&q
阅读全文
posted @
2010-11-08 17:52
一路前行
阅读(372)
推荐(1) 编辑
破解汇编知识(转)
摘要:寄存器 所要了解的是8个32位的寄存器,分别是eax,ebx,ecx,edx,esp,ebp,edi,esi eax-edx这四个是通用寄存器,虽然各个都有各自的用途,不过你可以用它们来做任何事!是32位的,自然有低位和高位,我们又可以通过ax,bx,cx,dx来访问其低十六位,但高十六位是无法访问的!比如eax=12345678h,那么低十六位ax=5678h!而十六位的自然也有低位和高位,...
阅读全文
posted @
2010-11-03 23:13
一路前行
阅读(301)
推荐(0) 编辑