| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 2038 人关注过本帖
标题:谁知道这脚本是什么意思?谁就是大师级别!并且解释一下
取消只看楼主 加入收藏
yangzeng
Rank: 1
等 级:新手上路
威 望:1
帖 子:277
专家分:0
注 册:2008-4-23
结帖率:100%
收藏
 问题点数:0 回复次数:4 
谁知道这脚本是什么意思?谁就是大师级别!并且解释一下
select                                                                                                      
    ''                                                                                               item41  
   , decode(a.shiage_tenkai,'1','disabled','5','disabled','')                                        item37  
   , decode(decode(b.s_seihin_kb,'s',a.press_tenkai,a.shiage_tenkai),'0','未展開','2','未展開','1','展開済','5','展開済','3','展開','未展開') item42  
   , b.hinmei                                                                                        item43  
   , nvl(decode(upper(b.tatene_shiji_tani),'x',b.jutyu_butsuryo , b.juchu_suryo) ,0)                 item44  
   , decode(upper(b.tatene_shiji_tani), 'x' , b.butsuryoutaniryaku , b.suryotaniryaku )              item45  
   , decode(upper(b.tatene_shiji_tani), 'x' , b.butsuryoutaniryaku , b.suryotaniryaku )              item47  
   , decode(upper(b.tatene_shiji_tani), 'x' , b.butsuryoutaniryaku , b.suryotaniryaku )              item49  
   , '手動引当'                                                                                      item50  
   , ''                                                                                              item60  
   , decode( b.s_seihin_kb, 'm', nvl(hin.seizouhinmei,' '),                                                  
             nvl(a.shiage_seizouhinmei, siage.shiage_seizouhinmei)                                          
           )                                                                                         item61  
   , decode( b.s_seihin_kb, 'm', nvl(hin.pack_hin    ,' '),                                                  
             nvl(a.shiage_pack_hinmei, siage.shiage_pack_hin)                                                
           )                                                                                         item188
   , nvl(a.shiage_torisu     ,siage.shiage_kite_kom    )                                             item62  
   , decode( b.s_seihin_kb, 's', nvl(hin.seizouhinmei,' '),                                                  
             nvl(a.press_seizouhinmei,press.press_seizouhinmei)                                             
           )                                                                                         item63  
   , decode( b.s_seihin_kb, 's', nvl(hin.pack_hin    ,' '),                                                  
             nvl(a.press_pack_hinmei , press.press_pack_hin)                                                
           )                                                                                         item189
   , nvl( a.press_teijaku_size, press.press_kite_kom )                                               item64  
   , nvl(a.shiage_tenkai_hitsuyo , nvl(decode(upper(b.tatene_shiji_tani),'x',b.tehaibutsuryou , b.tehaisuryo) ,0))        item65  
   , nvl(a.shiage_tenkai_hitsuyo_tani,decode(upper(b.tatene_shiji_tani), 'x' , b.butsuryoutaniryaku , b.suryotaniryaku )) item66  
   , 'プレス展開'                                                                                    item67  
   , to_char(a.shiage_tonyu_ymd,'yy/mm/dd')                                                          item68  
   , a.press_hitsuyo                                                                                 item69  
   , nvl(a.press_hitsuyo_tani ,decode(upper(b.tatene_shiji_tani), 'x' , b.butsuryoutaniryaku , b.suryotaniryaku ))        item70  
   , '仕上展開'                                                                                      item71  
   , to_char( decode( a.press_ymd, null, b.noki_base_press_ymd,                                             
                decode( sign(to_char(a.press_ymd,'hh24mi')-'0800'),-1,a.press_ymd-1,a.press_ymd )            
                      ), 'rr/mm/dd' )                                                                item72  
   , a.press_kai                                                                                     item73  
   , nvl(a.press_jikan,'08:00')                                                                      item74  
   , nvl( a.press_setsubiname , press.press_setsubiname )                                            item75  
   , nvl( a.press_teijaku_size, press.press_kite_kom    )                                            item76  
   , to_char(a.tokou_yokyuu_ymd,'yy/mm/dd hh24:mi')                                                  item77  
   , to_char(a.tokou_press_ymd,'yy/mm/dd')                                                           item78  
   , b.ukeban                                                                                        item79  
   , b.chumonnushi                                                                                   item80  
   , decode(nvl(b.noki,''),'','',decode(sign(to_number(substr(b.noki,length(b.noki)-1))-31),1, substr(b.noki,3,2)||'/'||substr(b.noki,5,2)||'/'||substr(b.noki,length(b.noki)-1),to_char(to_date(b.noki,'yyyy/mm/dd'),'yy/mm/dd'))) item81  
   , to_char(b.uketsuke_ymd,'yy/mm/dd')                                                              item82  
   , '0'                                                                                             item83  
   , decode(upper(b.tatene_shiji_tani), 'x' , b.butsuryoutaniryaku , b.suryotaniryaku )              item84  
   , nvl(0,0)                                                                                        item85  
   , decode(upper(b.tatene_shiji_tani), 'x' , b.butsuryoutaniryaku , b.suryotaniryaku )              item86  
   , nvl(0,0)                                                                                        item87  
   , decode(upper(b.tatene_shiji_tani), 'x' , b.butsuryoutaniryaku , b.suryotaniryaku )              item88  
   , ''                                                                                              item89  
   , decode(upper(b.tatene_shiji_tani), 'x' , b.butsuryoutaniryaku , b.suryotaniryaku )              item90
搜索更多相关主题的帖子: 脚本 大师 级别 解释 
2008-09-03 17:19
yangzeng
Rank: 1
等 级:新手上路
威 望:1
帖 子:277
专家分:0
注 册:2008-4-23
收藏
得分:0 
decode和nvl
这两不会是表名吧
2008-09-03 20:55
yangzeng
Rank: 1
等 级:新手上路
威 望:1
帖 子:277
专家分:0
注 册:2008-4-23
收藏
得分:0 
哈哈!只要有心中的梦想,以后就会成大师的,哈哈
anlige不要灰心哟
2008-09-04 07:15
yangzeng
Rank: 1
等 级:新手上路
威 望:1
帖 子:277
专家分:0
注 册:2008-4-23
收藏
得分:0 
哈哈
2008-09-04 09:28
yangzeng
Rank: 1
等 级:新手上路
威 望:1
帖 子:277
专家分:0
注 册:2008-4-23
收藏
得分:0 
哈哈!这个代码都难住了
2008-09-06 20:15
快速回复:谁知道这脚本是什么意思?谁就是大师级别!并且解释一下
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.035604 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved