-
- SQL游标原理和使用方法
- Weather:晴,西北风5-6级转西南风4-5级,(6~15)℃
- 2008-04-23
在数据库开发过程中,当你检索的数据只是一条记录时,你所编写的事务语句代码往往使用SELECT INSERT 语句。但是我们常常会遇到这样情况,即从某一结果集中逐一地读取一条记录。那么如何解决这种问题呢?游标为我们提供了一种极为优秀的
解决方案 。1.1 游标和游标的优点
在数据库中,游标是一个十分重要的概念。游标提供了一种对从表中检索出的数据进行操作的灵活手段,就本质而言,游标实际上是一种能从包括多条数据记录的结果集中每次提取一条记录的机制...
- Views(4058) | Comments(0) | In web develop
-
- SQL中sum(),avg()等统计结果为null的解决方法
- Weather:多云转晴,北风4-5级转东北风4-5级,(6~16)℃
- 2008-04-11
在SQL语句中使用集合函数count(),返回结果肯定为非负整数,这也是用来判断数据有无的一个很有效的方法;
然后在用sum()进行集合相加的时候,如果sum()的对象没有记录,那么不会返回0,而返回null,这么做,不会影响数据库,因为数值型字段也是可以存放NULL值的,因为在执行这样的SQL语句的时候,没有记录也不会报错。
但是执行完之后,要使用这个数据就有问题了。
- Views(7597) | Comments(6) | In web develop
-
- FCKeditor 2.6 正式版 发布
- Weather:多云转阴,北风4-5级转东风4-5级,(3~10)℃
- 2008-03-28
Version 2.6 (Download Zip or GZip from Sourceforge.net)
New Features and Improvements:
-
[#2017] The FCKeditorAPI.Instances object can now be used to access all FCKeditor instances available in the page.
-
[#1980] Attention: By default, the editor now produces and instead of and .
其中有的BUG 是我REPORT的哦.
-
- Views(6267) | Comments(32) | In web develop
-
- FCKeditor 2.6 Beta发布
- Weather:晴,西北风5-6级转西风4-5级,(-3~4)℃
- 2008-02-26
2008.2.21发布的2.5.1版,同时放消息说正在紧密打造FCKeditor3(代号:V3)版,结果四天之后,竟然又发布了2.6beta版,这不能不让全世界的FCK fans们大faint一块。

- Views(6521) | Comments(18) | In web develop
-
- FCKeditor 2.5.1版发布
- Weather:阴,西南风4-5级转北风5-6级,(-4~0)℃
- 2008-02-25
New Features and Improvements:
- FCKeditor.Net 2.5 compatibility.
- JavaScript integration file:
- The new "FCKeditor.ReplaceAllTextareas" function is being introduced, making it possible to replace many (or unknown) <textarea> elements in a single call. The replacement can be also filtered by CSS class name, or by a custom function evaluator.
- It is now possible to set the default BasePath for all editor instances by setting FCKeditor.BasePath. This is extremely useful when working with the ReplaceAllTextareas function.
- Views(7236) | Comments(0) | In web develop
