If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > DB2 LOAD utility and defaults TIMESTAMPS

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-27-05, 18:02
db2dcs db2dcs is offline
Registered User
 
Join Date: Feb 2005
Location: United States
Posts: 20
DB2 LOAD utility and defaults TIMESTAMPS

I cannot easily test the DB2 load utility here at my shop, so hopefully someone can clarify its behavior regarding DATE and TIMESTAMP type columns. We run DB2 version 7 for Z/OS.

Let us assume that we have a target table that looks like:

EMPNO CHAR(10)
EMPNAME CHAR(30)
UPDATE_TS TIMESTAMP

Furthermore, let us assume that the input data and corresponding loader control statements that are being fed into the load utility process only contain data and instructions regarding the EMPNO and EMPNAME columns.
No reference is made to the UPDATE_TS values whatsoever.
Given these assumptions, my questions are:
under what scenarios, if any, will the the loaded rows all bear the exact same value for UPDATE_TS (i.e. the same CURRENT TIMESTAMP value), and under what scenarios, if any, will they bear different values (incrementing CURRRENT TIMESTAMP values) ?

thanks to anyone who know the answer.
db2dcs
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On