Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: union all in proc*c
check maybe you have ; after first query :)
Uzytkownik <boopathi.it_at_gmail.com> napisal w wiadomosci
news:e1250c6e-f7b9-4775-9a74-9dd8507e6922_at_e1g2000hsh.googlegroups.com...
>I am trying to use the UNION ALL in a CURSOR declaration. It compiles
> fine and
> when we run the program it fetches only the rows corresponding to the
> first
> query in the cursor statement. We do not get any rows corresponding to
> the
> second query. But we know that second query can fetch some rows if
> executed in the ORACLE environment and we could not find any
> specific ways of using union all in the cursors declarations.
>
> Any help on this greatly appreciated.
Received on Wed Dec 12 2007 - 13:01:06 CST