My apologies,
after I sent the message I realized I did not say when it was giving me the error.
I pasted the code you highlighted into TOAD, (a product from Quest Software)
when I executed it, it came out with "ORA-00911: invalid character"
You think I should try from SQL Plus?
>You need to be more specific. Is this when creating the function? If so, run the revised code below show the exact errors will be showed. Are you running this from SQL Plus?
>
>>Mark,
>>now it gives me an "Invalid Character"
>
>CREATE OR REPLACE FUNCTION FNext
> RETURN NUMBER
> IS
> Count1 NUMBER(10);
> BEGIN
> SELECT PersonSN.nextval INTO Count1 FROM dual;
> RETURN Count1;
>END;
>/
>SHOW ERRORS