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

Thread: SQLLOADER Sequence problem

  1. #1
    Join Date
    Jan 2001
    Posts
    20

    Question

    I am trying to load a file to a table using sqlloader
    the primary key on the table is a sequence.
    when I load the table I want that sequence to generate a number not sqlloader. I seem to be having a problem with this. I have my control file set up like

    STMNT_ID (MAX,1) SEQUENCE,


    this is taking the max value of the column STMNT_ID column and adding one not not incrementing the sequence on the table. Does anyone know how to set it up in the control file of sqlloader so it uses the table sequence and doesn't create one of it's own?


  2. #2
    Join Date
    Feb 2001
    Posts
    1
    Put the name of the sequence inside quotation marks:

    STMNT_ID "sequence_name.NEXTVAL",

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