On Mon, Sep 15, 2008 at 11:53 AM, c k <shreeseva.learning@xxxxxxxxx> wrote: > > > If I have a function having: > begin > insert into something ... > select max(primary key) from something.. > end; > > does the second statement within a function can view the results after > execution of first statement to get max(P.K.)? Yep.