ann
冰是没有未来的,因为它的永恒
posts - 107,comments - 34,trackbacks - 0
05 2010 档案
vncserver 设置(redhat)      摘要: 1. 安装vnc
rpm -ivh vnc-server-4.1.2-14.el5_3.1.i386.rpm
rpm -ivh vnc-4.1.2-14.el5_3.1.i386.rpm


3. 设置vnc server的访问密码
[ann@ecdev1 ~]# vncpasswd

3. 执行vncserver,第一次执行后会生产一些配置文件

4. 修改/home/ann/.vnc/xstart(如果无此文件,就运行vncserver)
#!/bin/sh
# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xsta  阅读全文
posted @ 2010-05-19 09:49 冰是没有未来的,因为它的永恒| 编辑
wcbd build 出错的问题      摘要: I tried the Build and Deployment tool in Commerce version 7. I followed the tutorial for the same found here:
http://publib.boulder.ibm.com/infocenter/wchelp/v7r0m0/topic/com.ibm.commerce.developer.doc/concepts/cdewcbdbuild.htm

When I start the build process it extracts the projects from the CVS successfully, but while buildingarchiving the ejb jar the build fails with the following error:
java.io.IOException: Cannot run program "D:\Programs\RAD75\SDP\runtimes\base_v7\java\jre\b  阅读全文
posted @ 2010-05-17 10:56 冰是没有未来的,因为它的永恒| 编辑
SQL like子句的另一种实现方法,速度比like快      摘要:

SQL like子句的另一种实现方法,速度比like快


一般来说使用模糊查询,大家都会想到LIKE
select * from table where a like '%字符%'

如果一个SQL语句中用多个 like模糊查询,并且记录条数很大,那速度一定会很慢。
下面两种方法也可实现模糊查询:
select * from table where patindex('%字符%',a)>0
select * from table where charindex('字符',a)>0
经测试这两种方法比LIKE速度要快。

  阅读全文
posted @ 2010-05-04 12:58 冰是没有未来的,因为它的永恒| 编辑

当下,把心放下 放下如果是可能的,那一定是在当下,
不在过去,也不在未来。
当下放下。唯有活在当下,你的问题才能放下。