Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: constant in pl/sql
Anurag Minocha a écrit dans le message
<379E88B0.85E2B645_at_synergy-infotech.com>...
>Hi,
>can i assign sysdate to a variable and then use the variable at
>different places in the procedure the value of date being same and not
>changing since sysdate changes.
>
>
>anurag
>
>
>reply at
>anurag_at_synergy-infotech.com
>
Yes, you can.
Declare
my_date date := sysdate;
begin
/* use here my_date instead of sysdate */
end;
/
Received on Wed Jul 28 1999 - 05:11:35 CDT