Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2002
    Posts
    17

    Unanswered: update of multiple records

    hi
    I have a requirement as below

    i get a .csv file of the data related to licences and users

    i created one external table and loaded the licences and user information into it.

    now lic_nbr is the primary key in user table and one user with one lic_nbr can have multiple tickets and related inforamtion on it.


    the external table contains one lic_nbr with multiple updates.

    i want to load only the latest record in the table user table and rest should be redirected to history table.
    how can we achieve this. i dont have any time stamp kind of data for latest record.

    thanks very much

  2. #2
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    >i want to load only the latest record in the table user table and rest should be redirected to history table.
    >how can we achieve this. i dont have any time stamp kind of data for latest record.
    Without a time stamp, it is not possible.
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

  3. #3
    Join Date
    Jun 2004
    Location
    Liverpool, NY USA
    Posts
    2,509
    put the table description in this thread
    Bill
    You do not need a parachute to skydive. You only need a parachute to skydive twice.

Posting Permissions

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