Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Some questions
Yes to both. Use the pseudo-column rownum in your where contraint to limit the
number of returns rows, i.e., where rownum < 1000.
Two date datatypes can be subtracted for the number of days between, for example.
calberto_at_boreal.com.br wrote:
> Hi all!!
>
> Can I set in Oracle, inside a PL/SQL procedure, the number of rows returned
> by a query like I set in Sybase(SET ROWCOUNT 1)? I know I can test this
> variable (SQL%ROWCOUNT). Another question : Oracle has a date function that
> returns the number of days between two given dates?
>
> Thanks in advanced,
>
> Carlos
>
> -----== Posted via Deja News, The Leader in Internet Discussion ==-----
> http://www.dejanews.com/ Now offering spam-free web-based newsreading
Received on Wed Jun 17 1998 - 18:20:42 CDT
![]() |
![]() |