ann
          冰是沒(méi)有未來(lái)的,因?yàn)樗挠篮?/span>
          posts - 107,comments - 34,trackbacks - 0
               摘要: 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. 設(shè)置vnc server的訪問(wèn)密碼
          [ann@ecdev1 ~]# vncpasswd

          3. 執(zhí)行vncserver,第一次執(zhí)行后會(huì)生產(chǎn)一些配置文件

          4. 修改/home/ann/.vnc/xstart(如果無(wú)此文件,就運(yùn)行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 冰是沒(méi)有未來(lái)的,因?yàn)樗挠篮銃 編輯 收藏
               摘要: 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 冰是沒(méi)有未來(lái)的,因?yàn)樗挠篮銃 編輯 收藏
               摘要:

          SQL like子句的另一種實(shí)現(xiàn)方法,速度比like快


          一般來(lái)說(shuō)使用模糊查詢,大家都會(huì)想到LIKE
          select * from table where a like '%字符%'

          如果一個(gè)SQL語(yǔ)句中用多個(gè) like模糊查詢,并且記錄條數(shù)很大,那速度一定會(huì)很慢。
          下面兩種方法也可實(shí)現(xiàn)模糊查詢:
          select * from table where patindex('%字符%',a)>0
          select * from table where charindex('字符',a)>0
          經(jīng)測(cè)試這兩種方法比LIKE速度要快。

            閱讀全文
          posted @ 2010-05-04 12:58 冰是沒(méi)有未來(lái)的,因?yàn)樗挠篮銃 編輯 收藏
               摘要: #!/bin/sh
          PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
          #################################
          # application: test
          # DFILE : pid file
          # GDIR : application webapp
          # LOGDIR : logs dir
          ######################
          NAME=et-play
          TestDIR="/data/webapps/play/test"
          GDIR="${TestDIR}/test"
          PIDFILE="${TestDIR}/${NAME}.pid"
          LOGDIR="${GDIR}/logs"
          APP_USER=test
          # Timeout in seconds for the shutdown of webapps
          APP_SHUTDOWN=30 <  閱讀全文
          posted @ 2010-03-19 13:22 冰是沒(méi)有未來(lái)的,因?yàn)樗挠篮銃 編輯 收藏
               摘要: 1.備份表中的數(shù)據(jù)


          D:\Program Files\PostgreSQL-8.3.7\bin\pg_dump.exe -h *.*.*.* -p 5432 -U username -F c -v -f "D:\Program Files\PostgreSQL-8.3.7\bin\sss.backup" -t "\"public\".\"tablename\"" databasename

          2. 創(chuàng)建表

          CREATE TABLE tablename
          (
          id bigint,
          createtime timestamp without time zone,
          modifyname character varying(255),
          modify_date timestamp without time zone,
          modify_detail character varying(100000),
          "name" character varying(255  閱讀全文
          posted @ 2010-03-11 10:02 冰是沒(méi)有未來(lái)的,因?yàn)樗挠篮銃 編輯 收藏
               摘要: 一.linux 監(jiān)控?cái)?shù)據(jù)庫(kù)活動(dòng)
          $ ps auxww | grep ^postgres

          postgres 3424 0.0 1.2 42708 26588 ? Ss Jan29 0:00 postgres: writer process
          postgres 3425 0.0 0.0 42576 1284 ? Ss Jan29 0:00 postgres: wal writer process
          postgres 3426 0.0 0.0 43364 1972 ? Ss J  閱讀全文
          posted @ 2010-02-09 15:30 冰是沒(méi)有未來(lái)的,因?yàn)樗挠篮銃 編輯 收藏
               摘要: 1、對(duì)于第一種重復(fù),比較容易解決,使用

          select distinct * from tableName

            就可以得到無(wú)重復(fù)記錄的結(jié)果集。

             如果該表需要?jiǎng)h除重復(fù)的記錄(重復(fù)記錄保留1條),可以按以下方法刪除

          select distinct * into #Tmp from tableName
          drop table tableName
          select * into tableName from #Tmp
          drop table #Tmp


            閱讀全文
          posted @ 2010-02-08 16:22 冰是沒(méi)有未來(lái)的,因?yàn)樗挠篮銃 編輯 收藏

          當(dāng)下,把心放下 放下如果是可能的,那一定是在當(dāng)下,
          不在過(guò)去,也不在未來(lái)。
          當(dāng)下放下。唯有活在當(dāng)下,你的問(wèn)題才能放下。

          主站蜘蛛池模板: 平阴县| 五指山市| 开封县| 麻城市| 吴堡县| 威远县| 莒南县| 彩票| 峨边| 西峡县| 金秀| 微山县| 盐津县| 繁峙县| 云和县| 中江县| 德格县| 唐海县| 西乌珠穆沁旗| 塔河县| 姚安县| 五寨县| 内乡县| 柘城县| 教育| 罗城| 中西区| 通化市| 股票| 揭西县| 武汉市| 焉耆| 内丘县| 隆子县| 遂平县| 南部县| 建平县| 明星| 新疆| 合阳县| 四子王旗|