亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 1457 | 回復(fù): 0
打印 上一主題 下一主題

請教:關(guān)于oracle 9I wrap命令的編譯錯誤 [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2005-02-06 11:43 |只看該作者 |倒序?yàn)g覽
UPDATE H_KM SET DJKM = (
                            SELECT (SELECT DECODE(COUNT(*)-1,0,1,0)
                                              FROM H_KM t
                                              WHERE KM        LIKE m.KM||'%'    AND
                                                    ZTBM       = v_ZTBM         AND
                                                    DEPARTCODE = v_DEPARTCODE
                                    )
                              FROM H_KM m
                              WHERE ZTBM       = v_ZTBM        AND
                                    DEPARTCODE = v_DEPARTCODE  AND
                                    KM         = H_KM.KM
                            )
      WHERE ZTBM       = v_ZTBM        AND
            DEPARTCODE = v_DEPARTCODE  ;
這段程序在Package中運(yùn)行時(shí)沒有問題的,但是wrap的時(shí)候卻不能通過
我懷疑9I 的wrap采用的語法還是oracle7下面的,因?yàn)閛racle7不支持這種語法,其實(shí)就是view中套一個(gè)view,
9I下面編譯錯誤信息:
PL/SQL Wrapper: Release 9.0.1.1.1- Production on Sun Feb 06 11:30:30 2005

Copyright (c) Oracle Corporation 1993, 2001.  All Rights Reserved.

Processing CWCODE.PCK to CWCODE.plb
PSU(103,1,281,37):Encountered the symbol "SELECT" when expecting one of the following:

   ( - + case mod not null others <an identifier>;
   <a double-quoted delimited-identifier>; <a bind variable>; avg
   count current exists max min prior sql stddev sum variance
   execute forall merge time timestamp interval date
   <a string literal with character set specification>;
   <a number>; <a single-quoted SQL string>; pipe

PSU(103,1,286,37):Encountered the symbol "" when expecting one of the following:

   . ( * @ % & - + ; / at for mod rem <an exponent (**)>; and or
   group having intersect minus order start union where connect
   ||

哪位朋友能否指點(diǎn)一下,是不是oracle的wrap程序有問題?感覺wrap的編譯語法還是oracle7似的
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP