相信自己!

            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理 ::
            26 隨筆 :: 3 文章 :: 13 評論 :: 0 Trackbacks

          2007年10月12日 #

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

               摘要: javascript打開outlook  閱讀全文
          posted @ 2008-10-07 10:33 北極雪 閱讀(1042) | 評論 (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 北極雪 閱讀(218) | 評論 (0)編輯 收藏

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

               摘要: 三個sql的區別  閱讀全文
          posted @ 2008-09-25 15:23 北極雪 閱讀(259) | 評論 (0)編輯 收藏

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

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

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

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

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

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

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

               摘要: 驗證碼  閱讀全文
          posted @ 2008-02-13 09:46 北極雪 閱讀(329) | 評論 (0)編輯 收藏

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

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

               摘要: ajax一個小應用!  閱讀全文
          posted @ 2007-11-10 17:44 北極雪 閱讀(1375) | 評論 (1)編輯 收藏

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

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

               摘要: 轉載 struts-logic標簽  閱讀全文
          posted @ 2007-10-29 12:21 北極雪 閱讀(947) | 評論 (3)編輯 收藏

               摘要: 數據庫  閱讀全文
          posted @ 2007-10-26 12:28 北極雪 閱讀(4229) | 評論 (0)編輯 收藏

               摘要: 轉載 log4j文件的配置的詳細介紹  閱讀全文
          posted @ 2007-10-20 15:38 北極雪 閱讀(3520) | 評論 (0)編輯 收藏

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

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

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

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

               摘要: 轉載:WebWork標簽庫簡介  閱讀全文
          posted @ 2007-10-12 22:07 北極雪 閱讀(5245) | 評論 (2)編輯 收藏

          主站蜘蛛池模板: 乌兰县| 安陆市| 德清县| 龙州县| 龙游县| 乌兰浩特市| 武平县| 信丰县| 南安市| 扬州市| 广丰县| 锡林郭勒盟| 邻水| 霍山县| 延庆县| 云南省| 衡阳县| 遂昌县| 榆林市| 巴林右旗| 涟源市| 库尔勒市| 连江县| 长顺县| 综艺| 张家界市| 兰州市| 定兴县| 微博| 孝义市| 丽水市| 揭西县| 柞水县| 焉耆| 增城市| 淮滨县| 岳阳市| 嘉祥县| 万盛区| 开封县| 金华市|