Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Cursors

Re: Cursors

From: no spam <no_at_spam.com>
Date: Tue, 16 Nov 1999 16:16:09 GMT
Message-ID: <drfY3.32208$m4.111209876@news.magma.ca>


Your can use declared variables in your cursor declarations . Just make sure the varibles have valid vales before you open the cursor.

>I have a question about cursors. I want to define a cursor based upon
>parameters passed into my PL/SQL program.
>
>I want to look at the parameters the user passes in. If they are valid
>dates, I want to use those dates in my WHERE caluse. Otherwise, I want
>to use SYSDATE.
>
>How can I code a 'conditional' define for a CURSOR since it is done in
>the declaration section??
Received on Tue Nov 16 1999 - 10:16:09 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US