Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> query limitations in cursors
I have a query (year to year - again, thanks Thomas) that
functions correctly on its own, but when attached to a
cursor, I get compilation errors. Here is the query:
to_char(sum(qty98)) qty98, to_char(sum(margin98)) margin98, to_char(sum(stops98)) drops98, to_char(sum(sell99)) sales99, to_char(sum(qty99)) qty99, to_char(sum(margin99)) margin99,to_char(sum(stops99)) drops99,
Now, in a stored procedure when I use 'cursor c1 is ...' the compiler chunks on the '(' after the from statement. Anyone have any thoughts.
Kevin. Received on Thu Jul 30 1998 - 13:41:58 CDT
![]() |
![]() |