Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Re: Updates with sequences : not allowed ?
Hi!
>
> 1 create or replace function get_s
> 2 (seq_name IN VARCHAR2(30))
> 3 return number
> 4 as
> 5 l_s number;
> 6 begin
> 7 select seq_name.currval into l_s from dual;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
WBR Sergey Received on Fri Apr 21 2000 - 00:00:00 CDT
![]() |
![]() |