作者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
1F:推 PsMonkey:错误讯息咧? 12/09 08:04
2F:→ cbreak:Encountered the symbol "(" when expecting one of follow 12/09 08:23