| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Newbie Function Question Can you help ?
Hi,
the second function pointed in the right direction, you just ommitted to say to oracle where to select from:
CREATE OR REPLACE FUNCTION "CSS_User".DEPID2
RETURN INTEGER IS
A_INT NUMBER(10,0) ;
BEGIN
select DEPTID_SEQ.nextval into A_INT FROM DUAL; Return(A_INT) ;
--
Regards
Matthias Gresz :-)
GreMa_at_t-online.de
/|
/ |
/| |\
/|| |\
/ O |\
| |\ Galopping Horse beats Running Man.
/ |\
/ / |\
/ __/| |\
\° / | |\
\/_/ | |\
Received on Tue Jul 21 1998 - 01:43:47 CDT
![]() |
![]() |