作者cbreak (cbreak)
看板Database
標題[Oracle] 在Cursor裡使用inline view
時間Wed Dec 9 00:03:56 2009
我使用D2K 4.5與Oracle 8i
請問一下, 我這樣的方式為何在D2K 4.5會compile錯誤呢?
Declare cursor is
select a.c1, a.c2, b.c1
from TableA a, (select c1,c2 from TableB where c3='xxx') b
where a.c3=b.c3 and a.c4='yyy';
請問cursor裡不能有inline view嗎?
還是因為D2K/Oracle版本的問題呢? 謝謝!
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 125.231.215.41
推 PsMonkey:錯誤訊息咧? 12/09 08:04
→ cbreak:Encountered the symbol "(" when expecting one of follow 12/09 08:23