Results 1 to 2 of 2

Thread: BATCH_JOB_PARAMS: primary key

  1. #1
    Join Date
    Feb 2009
    Posts
    25

    Default BATCH_JOB_PARAMS: primary key

    Hi,
    I read your philosophy on not having a primary key on this table.
    But is it correct?
    In our application, transaction tables like this always have a (surrogate) primary key.
    Thoughts?
    Thanks,
    Deva

  2. #2
    Join Date
    Jun 2005
    Posts
    4,230

    Default

    Feel free to add a primary key if you wish. The natural key is (JOB_INSTANCE_ID,KEY_NAME). If you have an auto-incrementing platform you can also use a surrogate key if you wished. We never claim that the DDL samples we provide are perfect, or adequate for all purposes, but they work and are at least a good starting point.

Posting Permissions

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