| Author |
Message |
Serge Rielau *nix forums Guru
Joined: 29 Apr 2005
Posts: 1583
|
Posted: Fri Feb 18, 2005 1:15 pm Post subject:
Re: loading a timestamp
|
|
|
JS wrote:
| Quote: | I have a del file with timestamp format as: Jan 1 1995 12:00AM
I am trying to load this as:
modified by timestampformat "MMM/D/YYYY HH:MM TT"
but DB2 will not accept it. I have tried various combinations of the
modifier but no luck so far. Does anybody know the correct syntax to
load this value?
Many thanks if you do
There are a bunch of useful date functions delivered as part of MTK |
(which is free).
http://www-306.ibm.com/software/data/db2/migration/mtk/
Cheers
Serge
--
Serge Rielau
DB2 SQL Compiler Development
IBM Toronto Lab |
|
| Back to top |
|
 |
Tonkuma *nix forums Guru Wannabe
Joined: 07 Jun 2005
Posts: 178
|
|
| Back to top |
|
 |
fyi85@hotmail.com *nix forums beginner
Joined: 08 Jun 2005
Posts: 19
|
Posted: Thu Feb 17, 2005 9:23 pm Post subject:
loading a timestamp
|
|
|
I have a del file with timestamp format as: Jan 1 1995 12:00AM
I am trying to load this as:
modified by timestampformat "MMM/D/YYYY HH:MM TT"
but DB2 will not accept it. I have tried various combinations of the
modifier but no luck so far. Does anybody know the correct syntax to
load this value?
Many thanks if you do |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|