derrickzhang的博客
derrickzhang · 共 10 篇文章
Paging Query Using RowNumber Function
Although we have many ways to do paging query in SQL Server (with 'not exist', 'not in'), SQL Server provide an inner function to help us to do paging query after SQL Server 2005. Below is a very simple example. Conditions 1.We have a Table1, 2.We want to do paging query on records order by start t…
2010-08-19 14:05 · SqlServer · 评论(0)
PHP Log
PHP的错误信息记录到日志文件中 修改php.ini 1.display_errors = off //不显示错误信息(不输出到页面或屏幕上) 2.log_errors = on //记录错误信息(保存到日志文件中) 3.error_reporting = E_ALL //捕获所有错误信息 4.error_log = //设置日志文件名 程序中修改以上配置 1.ini_set("display_errors",0) 2.ini_set("error_reporting",E_ALL); //这个值好像是个PHP的常量 3.ini_set("error_log","<日志文件名>") 4.in…
2010-08-17 21:45 · Transshipment · 评论(0)
Integrating Eclipse PDT and Wamp For PHP IDE - Debugging with ZendDebugger
Preparation download eclipse pdt all in one package my package name : zend-eclipse-php-helios-win32-x86 download Wamp my version is : WampServer2.0c downloaded from www.php100.com For debugging with ZendDebugger, we need php extension, http://downloads.zend.com/pdt/server-debugger/ZendDebugger-5.2.…
2010-08-16 21:42 · my_notebook · 评论(0)
UTF-8 and Unicode Standards
http://www.utf-8.com/ Java与字符编码研究 http://china.manufacturer.com/article/study_for_character_encoding_java.htm
2009-06-01 11:02 · Transshipment · 评论(0)
notebook today5
c# how operate xml file. what about java? http://social.msdn.microsoft.com/Forums/en-US/csharplanguage/thread/e8258307-2497-4b39-b6fb-a021cfd97773 java: http://www.cafeconleche.org/books/xmljava/chapters/ 2.FAT32 and NTFS http://zhidao.baidu.com/question/11730706.html?si=1 3.How to change the File …
2009-04-09 10:26 · my_notebook · 评论(0)
Eclipse c++ 环境搭建
http://www.ibm.com/developerworks/cn/linux/opensource/os-ecc/ 1.配置好Java环境,装好eclipse 2.安装MinGW 3.path加入MinGW的bin目录 4.添加环境变量WXWIN至MinGW安装目录 5.安装gdb以便调试 6.finish
2009-02-25 01:16 · CPP · 评论(0)
Installer Class and Custom Actions
Installer Class and Custom Actions http://www.devcity.net/Articles/339/1/article.aspx
2008-12-11 11:06 · set up and deployment project · 评论(0)
about 64 bit install
windows 32位 64位 DLL 文件读取问题 http://hi.baidu.com/lizongzong/blog/item/559f8b625563acd8e7113add.html
2008-12-11 10:50 · Transshipment · 评论(0)
C++初学一(C++的运行原理)
C++是 cpp文件先编译成目标文件(.obj)连接(C语言函数库)变成可执行文件(.exe)然后在执行到windows操作系统
2008-07-29 23:38 · CPP · 评论(0)
The choise between Interface and Abstract Class
很多人有过这样的疑问:为什么有的地方必须使用接口而不是抽象类,而在另一些地方,又必须使用抽象类而不是接口呢?或者说,在考虑Java类的一般化问题时,很多人会在接口和抽象类之间犹豫不决,甚至随便选择一种。 实际上接口和抽象类的选择不是随心所欲的。 要理解接口和抽象类的选择原则,有两个概念很重要:对象的行为和对象的实现。如果一个实体可以有多种实现方式,则在设计实体行为的描述方式时,应当达到这样一个目标:在使用实体的时候,无需详细了解实体行为的实现方式。也就是说,要把对象的行为和对象的实现分离开来。既然Java的接口和抽象类都可以定义不提供具体实现的方法,在分离对象的行为和对象的实现时,到底应该使…
2008-05-30 11:32 · Transshipment_java_design · 评论(0)