摘要: In MS SQL Server, sometimes we will use queries like this to avoid the NULL value to be populated 1: SELECT ISNULL(TABLE1.COLUMN1,'IT IS NULL') 2: FROM TABLE1Similarly, in Oracle Database, we ca... 阅读全文
posted @ 2012-04-29 10:02 lei1016cn 阅读(901) 评论(0) 推荐(0) 编辑
摘要: The TS shared clipboard allows you to copy and paste data between local and remote sessions. When it works its really simple and seamless, but what about when it doesn’t? Diagnosing clipboard problems can be hard and frustrating!The majority of clipboard problems fall into the category of clipboard 阅读全文
posted @ 2012-04-13 11:18 lei1016cn 阅读(463) 评论(0) 推荐(0) 编辑
摘要: Many times we came across situation where we have Page name but we dont know the navigation for this page in Portal.Following SQL makes the job easy for us.Execute the following SQL in Database.SELECTREPLACE(navigation,'',' > ')"PIA Navigation",url,MENU_NAME,COMPONENT_NA 阅读全文
posted @ 2012-03-01 13:26 lei1016cn 阅读(350) 评论(0) 推荐(0) 编辑
摘要: 转载自:http://www.infomerchant.net/creditcardprocessing/credit_card_test_numbers.htmlThese credit card numbers can be used to test atransaction at ECHO. They are numbers that banks will reject asinvalid without problem and are intended for system testing.These test numbers work just like live accounts, 阅读全文
posted @ 2012-02-28 18:32 lei1016cn 阅读(631) 评论(0) 推荐(0) 编辑
摘要: 1. Inability to reason about code Reasoning about code means being able to follow the execution path ("running the program in your head") while knowing what the goal of the code is. Symptoms The pres... 阅读全文
posted @ 2011-10-20 23:53 lei1016cn 阅读(355) 评论(0) 推荐(0) 编辑
摘要: 1、身份证编码规则如下:根据〖中华人民共和国国家标准GB11643-1999〗中有关公民身份号码的规定,公民身份号码是特征组合码,由十七位数字本体码和一位数字校验码组成。排列顺序从左至右依次为:六位数字地址码,八位数字出生日期码,三位数字顺序码和一位数字校验码。 地址码(身份证前六位)表示编码对象第一次申领居民身份证时的常住户口所在县(市、旗、区)的行政区划代码。(所有区域的编码可以到网... 阅读全文
posted @ 2011-09-26 23:13 lei1016cn 阅读(1355) 评论(0) 推荐(0) 编辑
摘要: 一哥们问我如何用JS绘制曲线图,被我嗤之以鼻, 随后搜索了一下, 竟然发现JS居然真的可以弄,虽然效果想对简单,但是这可是实打实的JS only啊…由此可见, 学习一途,任重道远… 文章来自:http://bbs.blueidea.com/thread-2894005-1-1.html 这是代码: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Tr... 阅读全文
posted @ 2011-09-20 22:33 lei1016cn 阅读(6678) 评论(0) 推荐(0) 编辑
摘要: 现在做IT,特别是创业公司,如果不提到云就落伍了,不加上点什么云架构,云计算就根本谈不上技术先进, 其实事实真的有这么美么? 看了下面的一个文章,有点感触,就中国目前的社会环境来看,云计算,物联网还有很长的路要走,特别是对创业公司, 集中体现在三个方面. 1. 基础建设和软环境 中国的地大物博和庞大的人口基数造就了IT业的许多难题, 一个最简单的例子就是5 minutes的农场刚挂上QQ空间就因为... 阅读全文
posted @ 2011-07-15 12:34 lei1016cn 阅读(447) 评论(0) 推荐(0) 编辑
摘要: 一个简单的办法,无需重启服务器即可实现批量转移. 1. 将旧服务器中需要迁移的DomainName.dns 文件 (在 %SYSTEM%\System32\dns 中) 复制到新的服务器的 %SYSTEM\System32\dns 目录中 2. 编写批处理脚本,每行为一个域名,格式为 dnscmd localhost /zoneadd somedomain.com /primary /file s... 阅读全文
posted @ 2011-07-05 10:51 lei1016cn 阅读(554) 评论(0) 推荐(0) 编辑
摘要: 如果是一个团队项目, 并且没有约定好Collation, 在 MS SQL Server中编程就会遇到这样的问题 Cannot resolve the collation conflict between "Latin1_General_CI_AS" and "SQL_Latin1_General_CP1_CI_AS" in the equal to operation. 很简单的一个问题, 就是... 阅读全文
posted @ 2011-06-14 16:33 lei1016cn 阅读(456) 评论(0) 推荐(0) 编辑