Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> where rownum =1 NOT producing expected TOP 1results with order by
This query does not give me the correct row. Am I missing something
here? I'm looking for the first row when sorting by that logdate..
thanks.
select logtype into g from CPM_ERRORLOG where cpmjobno=29 and rownum=1 order by logdate desc;
Thanks. Received on Wed Feb 07 2007 - 13:56:16 CST
![]() |
![]() |