Oracle8i DataType
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: Oracle8i DataType

  1. #1
    Join Date
    Mar 2001
    Posts
    24

    Arrow

    How can I auto-increment the integer primary key? Is there any specific datatype for that in Oracle 8i?

  2. #2
    Join Date
    Jan 2001
    Posts
    2,828

    Cool

    you will have to use a sequence and then use that sequence in a before row insert trigger to auto increment the primary key value

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width