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

Thread: Sequence as Default Value

  1. #1
    Join Date
    Jan 2001
    Posts
    515

    Sequence as Default Value

    I have a table that is loaded by sqlloader every day. I have to add a column to the table and in that column I want a sequence number to be placed when loading. The question is can I just make the column have a default value of theseq.nextval or do I have to put it in the control file or a insert trigger?

  2. #2
    Join Date
    Aug 2002
    Location
    Colorado Springs
    Posts
    5,253
    Maybe this would work for you ... http://download-west.oracle.com/docs...06.htm#1008310
    David Aldridge,
    "The Oracle Sponge"

    Senior Manager, Business Intelligence Development
    XM Satellite Radio
    Washington, DC

    Oracle ACE

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