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

  免費注冊 查看新帖 |

Chinaunix

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

pro*c 復雜語句報錯 [復制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2012-05-13 18:20 |只看該作者 |倒序瀏覽
小弟初學PROC,遇到個問題,求解決阿
select a*(select value from t_b where key='a') from t_a;
pro*c是這樣寫的:
EXEC SQL DECLARE pr_cur CURSOR FOR
      SELECT rs * (SELECT value FROM t_map  WHERE key='a')
      FROM t_a;

這句話在SQLDEVELOPER里面運行正確,在PROC里面就報錯:
Syntax error at line 47, column 23, file rpmgr.pc:
Error at line 47, column 23 in file rpmgr.pc
                SELECT rs * (SELECT value FROM t_map    WHERE key='a')
......................1
PCC-S-02201, Encountered the symbol "value" when expecting one of the following:

   ( ) * + - / . @ | at, day, hour, minute, month, second, year,
The symbol ")" was substituted for "value" to continue.

Syntax error at line 47, column 53, file rpmgr.pc:
Error at line 47, column 53 in file rpmgr.pc
                SELECT rs * (SELECT value FROM t_map    WHERE key='a')
....................................................1
PCC-S-02201, Encountered the symbol ")" when expecting one of the following:

   ; * + - / | for, union, at, connect, and, group, having,
   intersect, minus, or, order, start, with, day, hour, minute,
   month, second, year,

Error at line 0, column 0 in file rpmgr.pc
PCC-F-02102, Fatal error while doing C preprocessing
make: *** [rpmgr.c] 錯誤 1

論壇徽章:
2
C
日期:2016-10-25 16:11:40極客徽章
日期:2016-12-07 14:07:30
2 [報告]
發(fā)表于 2012-08-12 22:41 |只看該作者
這語句也整理好一點,都看暈了,都是字母
您需要登錄后才可以回帖 登錄 | 注冊

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

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP