View previous topic :: View next topic
|
Author |
Message |
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
Hi all,
As a one time activity I need to load a table using a file and I have a situation where the my table contains 5 fields and the file contains 4 and where the field missing is to be stored with CURRENT TIMESTAMP and Is it possible to store the CURRENT TIMESTAMP value to be inserted for every record from the file
My shop doesnt support CONSTANT VALUE
Is there an option to populate CURRENT TIMESTAMP for every record in the input file using LOAD UTILITY?
or Also is there an option to set the table field WITH DEFAULT CURRENT TIMESTAMP or something similar? |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
Can the column be (re-)defined as NOT NULL WITH DEFAULT? |
|
Back to top |
|
|
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
Yes I have control over the tables so it can be done |
|
Back to top |
|
|
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
I felt Timstamp not needed so removed it
Thanks anyway |
|
Back to top |
|
|
|