Create a Funtion to Increment a 7 digit number and call it from a stored proc

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DICHPALLY
    New Member
    • Jul 2007
    • 1

    Create a Funtion to Increment a 7 digit number and call it from a stored proc

    Hi,

    I need to create a function to generate a sequence of unique seven digit numbers and store the next value for future references and call this function from with another stored proc in Oracle. Can anyone give me some guidance on this? Thanks.

    --Raj
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    why don.t you create a sequence instead of writing a function .

    Comment

    Working...