Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2010
    Posts
    3

    Red face Unanswered: Issue with loading a table

    Hi,

    I am trying to load a table from a flat file. Table has create timestamp and update timestamp columns which I want to populate with current timestamp.

    How do I need to create a input flat file. I dont want to give timestamp in input. It should be automatically populated while loading table.


    Please suggest.



    Thanks & Regards
    Mandar Panse

  2. #2
    Join Date
    Jun 2003
    Location
    Toronto, Canada
    Posts
    5,516
    Provided Answers: 1
    Define the two timestamp columns with the default value of current_timestamp, then omit these columns from the load command. They will be populated with the default 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
  •