相信自己!

            BlogJava :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理 ::
            26 隨筆 :: 3 文章 :: 13 評(píng)論 :: 0 Trackbacks

          2007年10月12日 #

               摘要: connect by prior  閱讀全文
          posted @ 2008-10-30 18:10 北極雪 閱讀(280) | 評(píng)論 (0)編輯 收藏

               摘要: javascript打開outlook  閱讀全文
          posted @ 2008-10-07 10:33 北極雪 閱讀(1052) | 評(píng)論 (3)編輯 收藏

           

          select /*t5.emp_name as sale_name,
                 t9.emp_name as cs_name,
                 t5.dept_name,
                 t5.friend_id,
                 t5.friend_name,
                 t5.contract_number,
                 t5.total_value,
                 t5.so_id,
                 t5.start_date,
                 t5.end_date,
                 t5.friend_phone*/
                 count(*)
            from (select t1.cust_id as friend_Id,
                         t1.so_id,
                         t1.emp_id,
                         t2.emp_name,
                         tf.friend_name,
                         t3.dept_name,
                         tf.friend_phone,
                         t1.so_code as contract_number,
                         t1.so_amount as TOTAL_VALUE,
                         t1.so_delivery_date as START_DATE,
                         t1.so_PAYMENT_DATE as END_DATE
                    from tc_sales_order_m t1,
                         tc_employee t2,
                         tc_department t3,
                         tc_friend tf
                   where t1.owner_id = 1
                     and t2.owner_id = 1
                     and t3.owner_id = 1
                     and tf.owner_id = 1
                     and t1.emp_id = t2.emp_id
                     and t2.dept_id = t3.dept_id
                     and tf.friend_id=t1.cust_id
                  and t1.cust_id in (select td.cust_id
                            from (select
                                         tm.cust_id,
                                         max(tm.so_payment_date) as end_date
                                    from tc_sales_order_m tm
                                   where tm.owner_id = 1
                                   group by tm.cust_id) td
                           where td.end_date < add_months(sysdate, -3))
                     and t3.biz_dept_id = '110'
                     and t3.DEPT_CODE not like '0112%'
                     and t3.DEPT_CODE not like '0113%') t5,
                 (select t4.emp_name, t2.friend_id
                    from rel_friend_emp t2, tc_department t3, tc_employee t4
                   where t2.emp_id = t4.emp_id
                     and t3.dept_id = t4.dept_id
                     and t2.owner_id = 1
                     and t3.owner_id = 1
                     and t4.owner_id = 1
                     and t2.is_self = 1
                     and t3.biz_dept_id = '130') t9
           where t5.friend_id = t9.friend_id(+)
          posted @ 2008-09-27 16:14 北極雪 閱讀(223) | 評(píng)論 (0)編輯 收藏

               摘要: 查看一個(gè)客戶是否是簽的第一個(gè)單子  閱讀全文
          posted @ 2008-09-27 14:24 北極雪 閱讀(310) | 評(píng)論 (0)編輯 收藏

               摘要: 三個(gè)sql的區(qū)別  閱讀全文
          posted @ 2008-09-25 15:23 北極雪 閱讀(262) | 評(píng)論 (0)編輯 收藏

          oncopy="return false;" oncut="return false;" oncontextmenu="return false"
          posted @ 2008-09-25 09:46 北極雪 閱讀(272) | 評(píng)論 (0)編輯 收藏

               摘要: sql01  閱讀全文
          posted @ 2008-09-23 10:08 北極雪 閱讀(167) | 評(píng)論 (0)編輯 收藏

               摘要: insert  閱讀全文
          posted @ 2008-08-29 10:52 北極雪 閱讀(624) | 評(píng)論 (0)編輯 收藏

               摘要: javascript  閱讀全文
          posted @ 2008-07-30 09:43 北極雪 閱讀(1135) | 評(píng)論 (0)編輯 收藏

               摘要: c#問題  閱讀全文
          posted @ 2008-04-29 16:18 北極雪 閱讀(263) | 評(píng)論 (0)編輯 收藏

               摘要: 如何比較兩個(gè)日期的先后順序  閱讀全文
          posted @ 2008-04-24 17:02 北極雪 閱讀(776) | 評(píng)論 (4)編輯 收藏

               摘要: 錯(cuò)誤集錦  閱讀全文
          posted @ 2008-04-12 10:45 北極雪 閱讀(193) | 評(píng)論 (0)編輯 收藏

               摘要: 驗(yàn)證碼  閱讀全文
          posted @ 2008-02-13 09:46 北極雪 閱讀(334) | 評(píng)論 (0)編輯 收藏

               摘要: java 集合  閱讀全文
          posted @ 2007-12-30 08:42 北極雪 閱讀(400) | 評(píng)論 (0)編輯 收藏

               摘要: 上傳圖片  閱讀全文
          posted @ 2007-12-05 13:12 北極雪 閱讀(258) | 評(píng)論 (0)編輯 收藏

               摘要: ajax一個(gè)小應(yīng)用!  閱讀全文
          posted @ 2007-11-10 17:44 北極雪 閱讀(1382) | 評(píng)論 (1)編輯 收藏

               摘要: input的各種樣式  閱讀全文
          posted @ 2007-11-10 16:17 北極雪 閱讀(19357) | 評(píng)論 (1)編輯 收藏

               摘要: xwork.xml  閱讀全文
          posted @ 2007-11-02 12:21 北極雪 閱讀(1136) | 評(píng)論 (0)編輯 收藏

               摘要: 轉(zhuǎn)載 struts-logic標(biāo)簽  閱讀全文
          posted @ 2007-10-29 12:21 北極雪 閱讀(955) | 評(píng)論 (3)編輯 收藏

               摘要: 數(shù)據(jù)庫  閱讀全文
          posted @ 2007-10-26 12:28 北極雪 閱讀(4234) | 評(píng)論 (0)編輯 收藏

               摘要: 轉(zhuǎn)載 log4j文件的配置的詳細(xì)介紹  閱讀全文
          posted @ 2007-10-20 15:38 北極雪 閱讀(3526) | 評(píng)論 (0)編輯 收藏

               摘要: log4j的各種配置方式  閱讀全文
          posted @ 2007-10-20 14:47 北極雪 閱讀(230) | 評(píng)論 (0)編輯 收藏

          1)%r輸出程序開始執(zhí)行之后的微秒數(shù)
          2)%t輸出當(dāng)前線程的名稱
          3)%-5p輸出消息的層次。
          4)%c 輸出category的名稱
          5)-%m及s是日志消息本身,%n是換行符。
            當(dāng)前在模式字符串中你可以嵌入任何想要輸出的字符。
            模式字符串中的模式如下:
          %m:消息本身
          %p:消息的層次
          %r:從程序開始執(zhí)行到當(dāng)前日志產(chǎn)生時(shí)的時(shí)間間隔(微秒)
          %c:輸出當(dāng)前日志動(dòng)作所在的category名稱。例如:如果category名稱是"a.b.c","%c{2}"將會(huì)輸出"b.c". {2}意謂著輸出“以點(diǎn)分隔開的category名稱的后兩個(gè)組件”,如果 {n}沒有,將會(huì)輸出整個(gè)category名稱.
          %t:輸出當(dāng)前線程的名稱
          %x:輸出和當(dāng)前線程相關(guān)聯(lián)的NDC(具體解釋見下文),尤其用到像java servlets這樣的多客戶多線程的應(yīng)用中。
          %n:輸出平臺(tái)相關(guān)的換行符。
          %%:輸出一個(gè)"%"字符
          %d:輸出日志產(chǎn)生時(shí)候的日期,當(dāng)然可以對(duì)日期的格式進(jìn)行定制。例如:%d{HH:mm:ss,SSSS}或者是%d{dd MMM yyyy HH:mm:ss,SSSS},如果沒有指定后面的格式,將會(huì)輸出ISO8601的格式。
          %l:輸出位置信息,相當(dāng)于%C.%M(%F:%L)的組合。
          %C:輸出日志消息產(chǎn)生時(shí)所在的類名,如果類名是“test.page.Class1”%C{1}表示輸出類名"Class1",%C{2}輸出"page.Class1",而%C則輸出"test.page.Class1"。
          %M:輸出日志消息產(chǎn)生時(shí)的方法名稱
          %F:輸出日志消息產(chǎn)生時(shí)所在的文件名稱
          %L:輸出代碼中的行號(hào)
             可以在%與模式字符之間加上修飾符來控制其最小寬度、最大寬度、和文本的對(duì)齊方式。如:
             1)%20c:指定輸出category的名稱,最小的寬度是20,如果category的名稱小于20的話,默認(rèn)的情況下右對(duì)齊。
            2) %-20c:指定輸出category的名稱,最小的寬度是20,如果category的名稱小于20的話,"-"號(hào)指定左對(duì)齊。
            3) %.30c:指定輸出category的名稱,最大的寬度是30,如果category的名稱大于30的話,就會(huì)將左邊多出的字符截掉,但小于30的話也不會(huì)有空格。
            4)%20.30c:如果category的名稱小于20就補(bǔ)空格,并且右對(duì)齊,如果其名稱長于30字符,就從左邊交遠(yuǎn)銷出的字符截掉。
            4)%20.30c:
          posted @ 2007-10-19 14:17 北極雪 閱讀(322) | 評(píng)論 (0)編輯 收藏

               摘要: build.xml配置文件  閱讀全文
          posted @ 2007-10-15 18:08 北極雪 閱讀(650) | 評(píng)論 (0)編輯 收藏

               摘要: javascript  閱讀全文
          posted @ 2007-10-15 13:46 北極雪 閱讀(416) | 評(píng)論 (0)編輯 收藏

               摘要: 轉(zhuǎn)載:WebWork標(biāo)簽庫簡介  閱讀全文
          posted @ 2007-10-12 22:07 北極雪 閱讀(5252) | 評(píng)論 (2)編輯 收藏

          主站蜘蛛池模板: 姜堰市| 澳门| 固镇县| 辽阳县| 逊克县| 社旗县| 鄂托克前旗| 龙海市| 张家川| 柘荣县| 射洪县| 合水县| 乌兰察布市| 蒲城县| 大兴区| 哈巴河县| 玉林市| 马关县| 新密市| 乐安县| 通榆县| 东乡族自治县| 张掖市| 广宗县| 佛坪县| 威远县| 诸暨市| 奇台县| 永城市| 宽甸| 扬州市| 聂拉木县| 会昌县| 揭阳市| 石家庄市| 古丈县| 罗定市| 金阳县| 南汇区| 双鸭山市| 临高县|