RE: Pl/SQL Question

  • From: "David Wendelken" <davewendelken@xxxxxxxxxxxxx>
  • To: <oracle-l@xxxxxxxxxxxxx>
  • Date: Tue, 23 Aug 2005 11:04:12 -0400

>   Cant we select directly from a sequence without having to 
>use a function? Is there any advantage to using a function?

Yes, you can select directly from a sequence.

But, they needed a routine that would enable them to specify the sequence
name at run-time, not at programming time.
That's why the function is being used.


--
//www.freelists.org/webpage/oracle-l

Other related posts: