Update

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • montyyogeshpatel
    New Member
    • Sep 2008
    • 4

    Update

    hi friends my Q is that if i want to update serial no. of any table in increasing order how i can update .


    pls tell me............. .........
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    you need to use a SEQUENCE for the purpose.

    Comment

    • montyyogeshpatel
      New Member
      • Sep 2008
      • 4

      #3
      how i can use SEQUENCE pls tell me in detail

      Comment

      • debasisdas
        Recognized Expert Expert
        • Dec 2006
        • 8119

        #4
        you need to use a cursor to take all the column values and then update one after another in a loop from the value generated by the cursor.

        Comment

        • amitpatel66
          Recognized Expert Top Contributor
          • Mar 2007
          • 2358

          #5
          Originally posted by montyyogeshpate l
          how i can use SEQUENCE pls tell me in detail
          Check here for oracle sequence

          Comment

          Working...